aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblob1807 <12388588+blob1807@users.noreply.github.com>2025-12-24 00:39:21 +1000
committerblob1807 <12388588+blob1807@users.noreply.github.com>2025-12-24 00:39:21 +1000
commit13faedaf4ce3a24ed92917d44244f226ff3fed57 (patch)
tree4bf6b006bd1688366ec65bbb50d155a2ef06052b
parent4eeb509fe8f1750be784786d4ac6470d6591fd6e (diff)
Try to ensure the runner's handler gets called first
-rw-r--r--core/testing/signal_handler_windows.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/testing/signal_handler_windows.odin b/core/testing/signal_handler_windows.odin
index 8843dde92..ef4a9d75d 100644
--- a/core/testing/signal_handler_windows.odin
+++ b/core/testing/signal_handler_windows.odin
@@ -165,7 +165,7 @@ _setup_signal_handler :: proc() {
// - Asserts and panics;
// - Arithmetic errors; and
// - Segmentation faults (illegal memory access).
- win32.AddVectoredExceptionHandler(0, stop_test_callback)
+ win32.AddVectoredExceptionHandler(1, stop_test_callback)
}
_setup_task_signal_handler :: proc(test_index: int) {