Skip to content

Commit 93c5964

Browse files
committed
Fix cortex-debug related debugging issue
1 parent 99099b0 commit 93c5964

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

+7
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,11 @@ export class DebugSessionManager extends TheiaDebugSessionManager {
6262
}
6363
);
6464
}
65+
async terminateSessions(): Promise<void> {
66+
await super.terminateSessions();
67+
const session = this.currentSession;
68+
if (session) {
69+
this.destroy(session.id);
70+
}
71+
}
6572
}

0 commit comments

Comments
 (0)