Closed nguarracino closed 1 year ago
The new WebSocket() line in this.open() is actually called this.maxReconnectAttempts + 1 times. The last time just returns immediately after. This change detects if this.maxReconnectAttempts has been hit before creating the WebSocket.
The new WebSocket() line in this.open() is actually called this.maxReconnectAttempts + 1 times. The last time just returns immediately after. This change detects if this.maxReconnectAttempts has been hit before creating the WebSocket.