From 2fe46c3a6afa99c13cdf4a8178bba963fbf4ae7e Mon Sep 17 00:00:00 2001 From: Jozen Blue Martinez Date: Wed, 9 Feb 2022 16:57:48 +0800 Subject: [PATCH] bleh --- src/main/plugins/webNowPlaying.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/plugins/webNowPlaying.ts b/src/main/plugins/webNowPlaying.ts index 9bbd825e..d5da3b0b 100644 --- a/src/main/plugins/webNowPlaying.ts +++ b/src/main/plugins/webNowPlaying.ts @@ -216,7 +216,7 @@ export default class WebNowPlaying { if (this.ws) { this.ws.send('STATE:0'); this.ws.onclose = () => void 0; // disable onclose handler first to stop it from retrying - this.ws.close(); + this.ws.close(); } if (this.wsapiConn) { this.wsapiConn.close();