diff options
| author | blob1807 <12388588+blob1807@users.noreply.github.com> | 2025-12-24 01:08:52 +1000 |
|---|---|---|
| committer | blob1807 <12388588+blob1807@users.noreply.github.com> | 2025-12-24 01:13:06 +1000 |
| commit | 569da5a1cf346056fd09fdabea567d2dd1ee8534 (patch) | |
| tree | e8a5508d8ec3952e47276679db5e31953b532e55 /core/testing | |
| parent | 13faedaf4ce3a24ed92917d44244f226ff3fed57 (diff) | |
Revert "Try to ensure the runner's handler gets called first"
This reverts commit 13faedaf4ce3a24ed92917d44244f226ff3fed57. As it's causing issues with ASAN, which adds it's own `ExceptionHandler` as the first. Making ours first messes with it. Causing an Access Violation when trying to setup `context` in our handler.
Diffstat (limited to 'core/testing')
| -rw-r--r-- | core/testing/signal_handler_windows.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/testing/signal_handler_windows.odin b/core/testing/signal_handler_windows.odin index ef4a9d75d..8843dde92 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(1, stop_test_callback) + win32.AddVectoredExceptionHandler(0, stop_test_callback) } _setup_task_signal_handler :: proc(test_index: int) { |