mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
Use ::TerminateProcess() instead of ::exit()
This commit is contained in:
parent
aa1e928c79
commit
f76244f700
@ -20,7 +20,9 @@ namespace vcpkg::Checks
|
|||||||
SetConsoleCP(GlobalState::g_init_console_cp);
|
SetConsoleCP(GlobalState::g_init_console_cp);
|
||||||
SetConsoleOutputCP(GlobalState::g_init_console_output_cp);
|
SetConsoleOutputCP(GlobalState::g_init_console_output_cp);
|
||||||
|
|
||||||
::exit(exit_code);
|
fflush(nullptr);
|
||||||
|
|
||||||
|
::TerminateProcess(::GetCurrentProcess(), exit_code);
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL CtrlHandler(DWORD fdwCtrlType)
|
static BOOL CtrlHandler(DWORD fdwCtrlType)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user