From 06f86a0733cb5f08d9ce7121b519339dcb756b7f Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 21 Apr 2016 03:15:42 -0700 Subject: [PATCH] Fix getAnnounceOpts function leak --- client.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.js b/client.js index 9f0fb4d..010f8c7 100644 --- a/client.js +++ b/client.js @@ -272,7 +272,9 @@ Client.prototype.destroy = function (cb) { }) parallel(tasks, cb) + self._trackers = [] + self._getAnnounceOpts = null } Client.prototype._defaultAnnounceOpts = function (opts) {