mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 18:27:38 +01:00
debug: make sure to dispose of all sesions on shutdown
This commit is contained in:
@@ -1049,6 +1049,7 @@ export class DebugModel implements IDebugModel {
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
this.sessions.forEach(s => s.shutdown());
|
||||
this.toDispose = lifecycle.dispose(this.toDispose);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user