mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-14 19:36:24 +00:00
client: interval.unref()
This commit is contained in:
parent
d29367a4a0
commit
abbb076484
@ -25,5 +25,6 @@ Tracker.prototype.setInterval = function (intervalMs) {
|
||||
if (intervalMs) {
|
||||
var update = self.announce.bind(self, self.client._defaultAnnounceOpts())
|
||||
self.interval = setInterval(update, intervalMs)
|
||||
if (self.interval.unref) self.interval.unref()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user