()
| 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]; |
no outgoing calls
no test coverage detected