diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-06-17 18:08:27 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2022-06-17 18:08:27 +0200 |
| commit | 28aa78ebe7df1f64959d879e7a140ff513fcfa82 (patch) | |
| tree | 24fda5f248a969e41cae6c850ca1a80d60509407 | |
| parent | a9635bb552d327b6e9c092d643d3857c5c8652ba (diff) | |
close connection on cleanup
| -rw-r--r-- | webAO/client.ts | 4 |
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() } /** |
