(isolatedClient: CopilotClient, home: string)
| 53 | } |
| 54 | |
| 55 | async function disposeIsolated(isolatedClient: CopilotClient, home: string): Promise<void> { |
| 56 | try { |
| 57 | await isolatedClient.forceStop(); |
| 58 | } catch { |
| 59 | // Best-effort cleanup. |
| 60 | } |
| 61 | tryRemoveDirectory(home); |
| 62 | } |
| 63 | |
| 64 | async function forceStop(target: CopilotClient): Promise<void> { |
| 65 | try { |
no test coverage detected
searching dependent graphs…