add new .ini setting "terminate_process"
This commit is contained in:
parent
7df6a4e47b
commit
ed8584129d
4 changed files with 9 additions and 0 deletions
|
@ -179,6 +179,9 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
|
|||
if (g_dbg_exception_handle && remove_handler)
|
||||
remove_handler(g_dbg_exception_handle);
|
||||
|
||||
if (g_config.terminate_process == 2)
|
||||
TerminateProcess(GetCurrentProcess(), 0);
|
||||
|
||||
break;
|
||||
}
|
||||
case DLL_THREAD_ATTACH:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue