We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db868ca commit 49025c1Copy full SHA for 49025c1
lib/client/websocket-tracker.js
@@ -137,6 +137,8 @@ WebSocketTracker.prototype._openSocket = function () {
137
var self = this
138
self.destroyed = false
139
140
+ if (!self.peers) self.peers = {}
141
+
142
self._onSocketConnectBound = self._onSocketConnect.bind(self)
143
self._onSocketErrorBound = self._onSocketError.bind(self)
144
self._onSocketDataBound = self._onSocketData.bind(self)
0 commit comments