Skip to content

Commit 2a4aae9

Browse files
committed
Fixed regression when stopping debugging sessions doesn't stop the testcase
1 parent b819a88 commit 2a4aae9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
- Sometimes leading newlines would be inserted when switching back to a file with running sessions
1313
- Testcase stuck on compile error if debugging configuration not found
14+
- [Regression] Terminating debugging sessions does not stop the testcase
1415

1516
# 4.0.3
1617

src/extension/providers/JudgeViewProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ export default class extends BaseViewProvider<typeof ProviderMessageSchema, Webv
597597
this._activeDebugTestcaseUuid = uuid;
598598
}),
599599
vscode.debug.onDidTerminateDebugSession((session) => {
600-
const uuid = session.configuration?.fastolympiccodingTestcaseId;
600+
const uuid = session.configuration?.fastolympiccodingTestcaseUuid;
601601
if (typeof uuid === "string" && this._activeDebugTestcaseUuid === uuid) {
602602
this._stop(uuid);
603603
this._activeDebugTestcaseUuid = undefined;

0 commit comments

Comments
 (0)