Kaynağa Gözat

Update instance.ts

Sergii Kliuchnyk 2 yıl önce
ebeveyn
işleme
80237305b7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/instance.ts

+ 1 - 1
src/instance.ts

@@ -62,7 +62,7 @@ export const createInstance = ({ app, server, options }: {
     messageHandler.handle(client, message);
   });
 
-  wss.on("close", (client: IClient) => {
+  wss2.on("close", (client: IClient) => {
     app.emit("disconnect", client);
   });