Format & lint
This commit is contained in:
parent
0e0a85df82
commit
5efe30d9d6
7 changed files with 32 additions and 22 deletions
|
|
@ -190,7 +190,10 @@ export class WebSocketManager {
|
|||
this.webSocket.onopen = (): void => {
|
||||
// Check if we've been stopped while connecting
|
||||
if (this.isStopped) {
|
||||
this.webSocket?.close(1000, "WebSocketManager was stopped during connection");
|
||||
this.webSocket?.close(
|
||||
1000,
|
||||
"WebSocketManager was stopped during connection"
|
||||
);
|
||||
return;
|
||||
}
|
||||
this.logger.info("WebSocket connection opened");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue