Update instance.ts
This commit is contained in:
parent
7deac0d07e
commit
80237305b7
@ -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);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user