Skip to content

Commit 421564a

Browse files
committed
fix close
1 parent bde749d commit 421564a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/web/src/client.ts.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class Client {
188188
createSocket: () => {
189189
if (this.realtime.channels.size < 1) {
190190
this.realtime.reconnect = false;
191-
this.realtime.socket.close();
191+
this.realtime.socket?.close();
192192
return;
193193
}
194194

0 commit comments

Comments
 (0)