From 20eb8e6e4f072a66d10d4d47f44ed7148d1c4186 Mon Sep 17 00:00:00 2001 From: Krad Date: Wed, 1 Jun 2022 16:00:04 +0800 Subject: [PATCH] Fix simulator stop bug. --- src/ShimLib/ShimLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ShimLib/ShimLib.c b/src/ShimLib/ShimLib.c index bfc13b8..8d9ec31 100644 --- a/src/ShimLib/ShimLib.c +++ b/src/ShimLib/ShimLib.c @@ -87,6 +87,7 @@ int ScanControl(ScanAction actionType) { stop_flag = 1; progress = 0; status = READY; + SetEvent(e2); printf("Stop everything!\r\n"); break; case SCAN_CONTINUE: