mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-31 10:31:36 +00:00
parent
db868cac78
commit
49025c1320
@ -137,6 +137,8 @@ WebSocketTracker.prototype._openSocket = function () {
|
|||||||
var self = this
|
var self = this
|
||||||
self.destroyed = false
|
self.destroyed = false
|
||||||
|
|
||||||
|
if (!self.peers) self.peers = {}
|
||||||
|
|
||||||
self._onSocketConnectBound = self._onSocketConnect.bind(self)
|
self._onSocketConnectBound = self._onSocketConnect.bind(self)
|
||||||
self._onSocketErrorBound = self._onSocketError.bind(self)
|
self._onSocketErrorBound = self._onSocketError.bind(self)
|
||||||
self._onSocketDataBound = self._onSocketData.bind(self)
|
self._onSocketDataBound = self._onSocketData.bind(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user