diff --git a/lib/client/tracker.js b/lib/client/tracker.js index 8d53f1e..889d072 100644 --- a/lib/client/tracker.js +++ b/lib/client/tracker.js @@ -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() } }