MCPcopy Index your code
hub / github.com/gnmyt/Nexterm / destroy

Method destroy

server/lib/ScriptLayer.js:166–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 onClose(code) { if (this.running) this.handleEnd(code); }
165
166 destroy() {
167 this.stream.removeListener("data", this.onData);
168 this.stream.removeListener("close", this.onClose);
169 for (const { ws, handler } of this.handlers) ws.removeListener("message", handler);
170 this.handlers.clear();
171 this.running = false;
172 }
173}
174
175module.exports = { ScriptLayer, SCRIPT_MAGIC, MSG };

Callers 15

script.jsFile · 0.45
entry.jsFile · 0.45
backup.jsFile · 0.45
session.jsFile · 0.45
engine.jsFile · 0.45
source.jsFile · 0.45
tag.jsFile · 0.45
syncCredentialsFunction · 0.45
identity.jsFile · 0.45
organization.jsFile · 0.45
ldap.jsFile · 0.45
oidc.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected