MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / close

Function close

public/javascripts/socket.io.js:4465–4469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4463 }
4464
4465 function close () {
4466 self.onClose('forced close');
4467 debug('socket closing - telling transport to close');
4468 self.transport.close();
4469 }
4470
4471 function cleanupAndClose () {
4472 self.removeListener('upgrade', cleanupAndClose);

Callers 2

socket.io.jsFile · 0.70
cleanupAndCloseFunction · 0.70

Calls 2

debugFunction · 0.85
closeMethod · 0.80

Tested by

no test coverage detected