Call OnUnhandledException() only when wxWidgets is compiled with exception handling.
Originally committed to SVN as r4044.
This commit is contained in:
parent
0cd4f1225d
commit
27a1d68ec4
1 changed files with 2 additions and 0 deletions
|
@ -431,7 +431,9 @@ int AegisubApp::OnRun() {
|
|||
file.close();
|
||||
}
|
||||
|
||||
#if wxUSE_EXCEPTIONS
|
||||
OnUnhandledException();
|
||||
#endif
|
||||
}
|
||||
|
||||
ExitMainLoop();
|
||||
|
|
Loading…
Reference in a new issue