Skip to content

Commit ef6a472

Browse files
committed
* FIX:[XrCore] exit for crash
1 parent 573a7f2 commit ef6a472

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/XrCore/xrDebugNew.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ LONG WINAPI UnhandledFilter (_EXCEPTION_POINTERS *pExceptionInfo)
660660
Debug.get_on_dialog() (true);
661661

662662
MessageBox (NULL,"Fatal error occured\n\nPress OK to abort program execution","Fatal error",MB_OK|MB_ICONERROR|MB_SYSTEMMODAL);
663+
exit(-1);
663664
}
664665
#endif // USE_OWN_ERROR_MESSAGE_WINDOW
665666

0 commit comments

Comments
 (0)