mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 20:21:36 +00:00
fix: revert #420
This commit is contained in:
parent
38c4fdbcc1
commit
8d54938f16
@ -301,7 +301,6 @@ class WebSocketTracker extends Tracker {
|
|||||||
clearTimeout(peer.trackerTimeout)
|
clearTimeout(peer.trackerTimeout)
|
||||||
peer.trackerTimeout = null
|
peer.trackerTimeout = null
|
||||||
delete this.peers[offerId]
|
delete this.peers[offerId]
|
||||||
peer.destroy()
|
|
||||||
} else {
|
} else {
|
||||||
debug(`got unexpected answer: ${JSON.stringify(data.answer)}`)
|
debug(`got unexpected answer: ${JSON.stringify(data.answer)}`)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user