From 28aa78ebe7df1f64959d879e7a140ff513fcfa82 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Fri, 17 Jun 2022 18:08:27 +0200 Subject: close connection on cleanup --- webAO/client.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webAO/client.ts b/webAO/client.ts index 2163a1d..07a35db 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -634,9 +634,7 @@ class Client extends EventEmitter { cleanup() { clearInterval(this.checkUpdater); - // the connection got rekt, get rid of the old musiclist - this.resetMusicList(); - document.getElementById('client_chartable').innerHTML = ''; + this.serv.close() } /** -- cgit