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 <francescomaria.stasi@gmail.com>
This commit is contained in:
Mark Sujew 2021-10-27 12:56:17 +02:00 committed by GitHub
parent 99099b06aa
commit acbb164c3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}