MCPcopy Create free account
hub / github.com/Marus/cortex-debug / onClose

Method onClose

src/frontend/pty.ts:118–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 private onClose() {
119 this.emit('close');
120 super.removeAllListeners();
121 delete PtyTerminal.oldOnes[this.options.name];
122 this.isReady = false;
123 this.terminal = null;
124 }
125
126 public static findExisting(name: string): PtyTerminal {
127 return PtyTerminal.oldOnes[name];

Callers 2

PtyTerminalClass · 0.95
constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected