mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-02-20 20:29:02 +00:00
client: websocket: Unref peer.trackerTimeout
This commit is contained in:
parent
d079171044
commit
2c23ae7f00
@ -360,6 +360,7 @@ WebSocketTracker.prototype._generateOffers = function (numwant, cb) {
|
||||
delete self.peers[offerId]
|
||||
peer.destroy()
|
||||
}, OFFER_TIMEOUT)
|
||||
if (peer.trackerTimeout.unref) peer.trackerTimeout.unref()
|
||||
}
|
||||
|
||||
function checkDone () {
|
||||
|
Loading…
Reference in New Issue
Block a user