diff --git a/src/plugins/webSocketClient.ts b/src/plugins/webSocketClient.ts index bb717441e..a2a6addbc 100644 --- a/src/plugins/webSocketClient.ts +++ b/src/plugins/webSocketClient.ts @@ -208,6 +208,7 @@ export class WebSocketClient { if (this.instance?.readyState !== WebSocket.OPEN || !this.store) return this.close() + this.store?.dispatch('socket/onClose') }, 10000) } }