MCPcopy Create free account
hub / github.com/dataease/SQLBot / cleanup

Function cleanup

frontend/public/swagger-ui-bundle.js:29105–29115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29103 if ((cleanup(), 0 === a.listenerCount(this, 'error'))) throw s
29104 }
29105 function cleanup() {
29106 ;(i.removeListener('data', ondata),
29107 s.removeListener('drain', ondrain),
29108 i.removeListener('end', onend),
29109 i.removeListener('close', onclose),
29110 i.removeListener('error', onerror),
29111 s.removeListener('error', onerror),
29112 i.removeListener('end', cleanup),
29113 i.removeListener('close', cleanup),
29114 s.removeListener('close', cleanup))
29115 }
29116 return (
29117 i.on('error', onerror),
29118 s.on('error', onerror),

Callers 1

onerrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected