We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28ebd1 commit fa19cd0Copy full SHA for fa19cd0
src/webrtc/events/Close.ts
@@ -17,11 +17,9 @@
17
*/
18
19
import { WebSocket } from "@spacebar/gateway";
20
-import { Session } from "@spacebar/util";
21
22
export async function onClose(this: WebSocket, code: number, reason: string) {
23
console.log("[WebRTC] closed", code, reason.toString());
24
25
- if (this.session_id) await Session.delete({ session_id: this.session_id });
26
this.removeAllListeners();
27
}
0 commit comments