Skip to content

Commit 06f86a0

Browse files
committed
Fix getAnnounceOpts function leak
1 parent ec3ba5b commit 06f86a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ Client.prototype.destroy = function (cb) {
272272
})
273273

274274
parallel(tasks, cb)
275+
275276
self._trackers = []
277+
self._getAnnounceOpts = null
276278
}
277279

278280
Client.prototype._defaultAnnounceOpts = function (opts) {

0 commit comments

Comments
 (0)