diff --git a/src/store/socket-message/socket.ts b/src/store/socket-message/socket.ts index c0212a36..6d4d4e49 100644 --- a/src/store/socket-message/socket.ts +++ b/src/store/socket-message/socket.ts @@ -289,10 +289,12 @@ export class SocketStore extends EventTarget { unicastMessage(data: any) { if (!this.clientConnection) { + message.destroy(); message.warning(getTranslation('socket.client-not-found')); return; } if (!this.socket) { + message.destroy(); message.error(getTranslation('socket.debug-offline')); return; }