We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcdfc3d commit b57adb8Copy full SHA for b57adb8
src/xrCore/xrDebug.cpp
@@ -338,6 +338,9 @@ void WINAPI xrDebug::PreErrorHandler(INT_PTR)
338
339
void xrDebug::SetupExceptionHandler(const bool &dedicated)
340
{
341
+ // disable 'appname has stopped working' popup dialog
342
+ UINT prevMode = SetErrorMode(SEM_NOGPFAULTERRORBOX);
343
+ SetErrorMode(prevMode|SEM_NOGPFAULTERRORBOX);
344
BT_InstallSehFilter();
345
if (!dedicated && !strstr(GetCommandLine(), "-silent_error_mode"))
346
BT_SetActivityType(BTA_SHOWUI);
0 commit comments