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 0004c1c commit f5fa95eCopy full SHA for f5fa95e
1 file changed
src/controllers/api.ts
@@ -313,6 +313,7 @@ const addClient = (
313
clientConnections: Map<String, SenderFunction>
314
) => {
315
const disconnect = () => {
316
+ if (!clientConnections.has(clientId)) return;
317
clientConnections.delete(clientId);
318
const clients = hosts.get(hostId);
319
if (!clients || clients.size === 0) {
0 commit comments