* Close all terminal windows for a workspace
(workspaceId: string)
| 135 | * Close all terminal windows for a workspace |
| 136 | */ |
| 137 | closeTerminalWindow(workspaceId: string): void { |
| 138 | const windowSet = this.windows.get(workspaceId); |
| 139 | if (windowSet) { |
| 140 | for (const window of windowSet) { |
| 141 | if (!window.isDestroyed()) { |
| 142 | window.close(); |
| 143 | } |
| 144 | } |
| 145 | this.windows.delete(workspaceId); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Close all terminal windows for all workspaces |
no test coverage detected