diff options
Diffstat (limited to 'gateway/src/events/Close.ts')
-rw-r--r-- | gateway/src/events/Close.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gateway/src/events/Close.ts b/gateway/src/events/Close.ts index f819b064..f1a8fa9b 100644 --- a/gateway/src/events/Close.ts +++ b/gateway/src/events/Close.ts @@ -2,5 +2,6 @@ import WebSocket from "ws"; import { Message } from "./Message"; export function Close(this: WebSocket, code: number, reason: string) { + // @ts-ignore this.off("message", Message); } |