Skip to content

Commit acbb164

Browse files
msujewfstasi
andauthored
Fix cortex-debug related debugging issue (#578)
* Fix cortex-debug related debugging issue * Update arduino-ide-extension/src/browser/theia/debug/debug-session-manager.ts Co-authored-by: Francesco Stasi <[email protected]>
1 parent 99099b0 commit acbb164

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: arduino-ide-extension/src/browser/theia/debug/debug-session-manager.ts

+5
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,9 @@ export class DebugSessionManager extends TheiaDebugSessionManager {
6262
}
6363
);
6464
}
65+
// TODO: remove as https://github.com/eclipse-theia/theia/issues/10164 is fixed
66+
async terminateSessions(): Promise<void> {
67+
await super.terminateSessions();
68+
this.destroy(this.currentSession?.id);
69+
}
6570
}

0 commit comments

Comments
 (0)