fix(core): update

This commit is contained in:
Philipp Kunz 2022-01-18 18:54:29 +01:00
parent 2754447aae
commit 499a1893f9

View File

@ -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();