(workspaceId: string, sessionId: number)
| 271 | } |
| 272 | |
| 273 | terminate(workspaceId: string, sessionId: number): void { |
| 274 | const session = this.getOwnedSession(workspaceId, sessionId); |
| 275 | if (session.running) session.process?.kill("SIGTERM"); |
| 276 | } |
| 277 | |
| 278 | shutdown(): void { |
| 279 | for (const session of this.sessions.values()) { |
no test coverage detected