Skip to content

Commit

Permalink
Fix cortex-debug related debugging issue (#578)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
msujew and fstasi authored Oct 27, 2021
1 parent 99099b0 commit acbb164
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,9 @@ export class DebugSessionManager extends TheiaDebugSessionManager {
}
);
}
// TODO: remove as https://github.com/eclipse-theia/theia/issues/10164 is fixed
async terminateSessions(): Promise<void> {
await super.terminateSessions();
this.destroy(this.currentSession?.id);
}
}

0 comments on commit acbb164

Please sign in to comment.