fix(core): update
This commit is contained in:
parent
2754447aae
commit
499a1893f9
@ -62,7 +62,7 @@ export class Smartsocket {
|
|||||||
this.socketConnections.forEach((socketObjectArg: SocketConnection) => {
|
this.socketConnections.forEach((socketObjectArg: SocketConnection) => {
|
||||||
if (socketObjectArg) {
|
if (socketObjectArg) {
|
||||||
logger.log('info', `disconnect socket with >>alias ${socketObjectArg.alias}`);
|
logger.log('info', `disconnect socket with >>alias ${socketObjectArg.alias}`);
|
||||||
socketObjectArg.socket.disconnect();
|
socketObjectArg.socket.disconnect(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.socketConnections.wipe();
|
this.socketConnections.wipe();
|
||||||
|
Loading…
Reference in New Issue
Block a user