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 5b9da4a commit fc2f84aCopy full SHA for fc2f84a
lib/client/websocket-tracker.js
@@ -172,6 +172,9 @@ class WebSocketTracker extends Tracker {
172
this.socket = socketPool[this.announceUrl]
173
if (this.socket) {
174
socketPool[this.announceUrl].consumers += 1
175
+ if (this.socket.connected) {
176
+ this._onSocketConnectBound()
177
+ }
178
} else {
179
this.socket = socketPool[this.announceUrl] = new Socket(this.announceUrl)
180
this.socket.consumers = 1
0 commit comments