From 8c7030470d06d9066cb9fb1763e6abd64da84954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Fri, 30 Jul 2021 22:54:35 +0200 Subject: [PATCH] disconnect even if not connected. --- src/component/main.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/component/main.vue b/src/component/main.vue index 4f97aa45..7c9b378e 100644 --- a/src/component/main.vue +++ b/src/component/main.vue @@ -285,10 +285,6 @@ } public disconnect() { - if (!this.connected) { - throw new Error('client is not connected') - } - this.connection.close() }