mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-02-21 20:59: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]
|
delete self.peers[offerId]
|
||||||
peer.destroy()
|
peer.destroy()
|
||||||
}, OFFER_TIMEOUT)
|
}, OFFER_TIMEOUT)
|
||||||
|
if (peer.trackerTimeout.unref) peer.trackerTimeout.unref()
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkDone () {
|
function checkDone () {
|
||||||
|
Loading…
Reference in New Issue
Block a user