From 499a1893f9b55ecfc49985a4ef4cb0b798c0fe61 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 18 Jan 2022 18:54:29 +0100 Subject: [PATCH] fix(core): update --- ts/smartsocket.classes.smartsocket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/smartsocket.classes.smartsocket.ts b/ts/smartsocket.classes.smartsocket.ts index 93b516a..84e9efe 100644 --- a/ts/smartsocket.classes.smartsocket.ts +++ b/ts/smartsocket.classes.smartsocket.ts @@ -62,7 +62,7 @@ export class Smartsocket { this.socketConnections.forEach((socketObjectArg: SocketConnection) => { if (socketObjectArg) { logger.log('info', `disconnect socket with >>alias ${socketObjectArg.alias}`); - socketObjectArg.socket.disconnect(); + socketObjectArg.socket.disconnect(true); } }); this.socketConnections.wipe();