Always use _exit to terminate (for now)

This commit is contained in:
2025-10-09 13:14:59 -06:00
parent dc5a91c480
commit e185629d19
6 changed files with 18 additions and 7 deletions

View File

@@ -3,6 +3,7 @@
#include "common.h"
#include "context.h"
#include "errors.h"
#include "internal.h"
namespace {
@@ -35,7 +36,7 @@ void WIN_FUNC RaiseException(DWORD dwExceptionCode, DWORD dwExceptionFlags, DWOR
(void)dwExceptionFlags;
(void)nNumberOfArguments;
(void)lpArguments;
exit(static_cast<int>(dwExceptionCode));
exitInternal(dwExceptionCode);
}
PVOID WIN_FUNC AddVectoredExceptionHandler(ULONG First, PVECTORED_EXCEPTION_HANDLER Handler) {