diff options
-rw-r--r-- | src/client/mac/handler/exception_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/mac/handler/exception_handler.cc b/src/client/mac/handler/exception_handler.cc index eee562b2..ab2cc489 100644 --- a/src/client/mac/handler/exception_handler.cc +++ b/src/client/mac/handler/exception_handler.cc @@ -216,7 +216,7 @@ bool ExceptionHandler::WriteMinidumpWithException(int exception_type, exception_code, thread_name) ) { if (exception_type && exception_code) - exit(exception_type); + _exit(exception_type); } } else { string minidump_id; @@ -245,7 +245,7 @@ bool ExceptionHandler::WriteMinidumpWithException(int exception_type, if (callback_(dump_path_c_, next_minidump_id_c_, callback_context_, result)) { if (exception_type && exception_code) - exit(exception_type); + _exit(exception_type); } } } |