mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-14 11:26:25 +00:00
cleanup self._trackers
This commit is contained in:
parent
153402ae85
commit
c048f1b2a9
@ -232,6 +232,7 @@ Client.prototype.destroy = function () {
|
|||||||
if (tracker.destroy) tracker.destroy()
|
if (tracker.destroy) tracker.destroy()
|
||||||
tracker.setInterval(0) // stop announcing on intervals
|
tracker.setInterval(0) // stop announcing on intervals
|
||||||
})
|
})
|
||||||
|
self._trackers = []
|
||||||
}
|
}
|
||||||
|
|
||||||
Client.prototype._defaultAnnounceOpts = function (opts) {
|
Client.prototype._defaultAnnounceOpts = function (opts) {
|
||||||
|
Loading…
Reference in New Issue
Block a user