aboutsummaryrefslogtreecommitdiff
path: root/tccrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccrun.c')
-rw-r--r--tccrun.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tccrun.c b/tccrun.c
index e28529b..b647962 100644
--- a/tccrun.c
+++ b/tccrun.c
@@ -615,8 +615,7 @@ static long __stdcall cpu_exception_handler(EXCEPTION_POINTERS *ex_info)
rt_error(uc, "exception caught");
break;
}
- exit(-1);
- return EXCEPTION_CONTINUE_SEARCH;
+ return EXCEPTION_EXECUTE_HANDLER;
}
/* Generate a stack backtrace when a CPU exception occurs. */