MCPcopy Create free account
hub / github.com/SocketCluster/socketcluster / detachUnloadHandler

Function detachUnloadHandler

app/public/socketcluster-client.js:293–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

291 };
292
293 let detachUnloadHandler = () => {
294 if (isUnloadHandlerAttached) {
295 isUnloadHandlerAttached = false;
296 global.removeEventListener('beforeunload', unloadHandler, false);
297 }
298 };
299
300 (async () => {
301 let consumer = this.listener('connecting').createConsumer();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…