aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-06-17 18:08:27 +0200
committerstonedDiscord <Tukz@gmx.de>2022-06-17 18:08:27 +0200
commit28aa78ebe7df1f64959d879e7a140ff513fcfa82 (patch)
tree24fda5f248a969e41cae6c850ca1a80d60509407
parenta9635bb552d327b6e9c092d643d3857c5c8652ba (diff)
close connection on cleanup
-rw-r--r--webAO/client.ts4
1 files changed, 1 insertions, 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()
}
/**