commit | 0f7904562771ba2c04e0836dfa6eb7771bf3a6a1 | [log] [tgz] |
---|---|---|
author | 邹异雄 <yixiongzou@tuputech.com> | Sat Jan 05 11:05:38 2019 +0800 |
committer | James E. King III <jking@apache.org> | Sat Jan 05 01:59:19 2019 -0500 |
tree | 856fe9a5511630ea67d99f74281460e0958fe2cd | |
parent | b239b0a53b016ea55939b6fd667955762bd56909 [diff] |
Fix: free useless timer
diff --git a/lib/nodejs/lib/thrift/connection.js b/lib/nodejs/lib/thrift/connection.js index 15d955b..9e5c063 100644 --- a/lib/nodejs/lib/thrift/connection.js +++ b/lib/nodejs/lib/thrift/connection.js
@@ -222,6 +222,7 @@ this.retry_timer = setTimeout(function () { if (self.connection.destroyed) { + self.retry_timer = null; return; }