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 ad80d80 commit bde749dCopy full SHA for bde749d
templates/web/src/client.ts.twig
@@ -186,7 +186,11 @@ class Client {
186
}
187
},
188
createSocket: () => {
189
- if (this.realtime.channels.size < 1) return;
+ if (this.realtime.channels.size < 1) {
190
+ this.realtime.reconnect = false;
191
+ this.realtime.socket.close();
192
+ return;
193
+ }
194
195
const channels = new URLSearchParams();
196
channels.set('project', this.config.project);
0 commit comments