File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -910,7 +910,7 @@ int SpringApp::Run()
910
910
911
911
// no exception from main, check if some other thread interrupted our regular loop
912
912
// in case one did, ErrorMessageBox will call ShutDown and forcibly exit the process
913
- if ((thrErr = Threading::GetThreadError ()) != nullptr )
913
+ if (! (thrErr = Threading::GetThreadError ())-> Empty () )
914
914
ErrorMessageBox (" [thread] " + thrErr->message , thrErr->caption , thrErr->flags );
915
915
916
916
try {
@@ -921,7 +921,7 @@ int SpringApp::Run()
921
921
} CATCH_SPRING_ERRORS
922
922
923
923
// no exception from main, but a thread might have thrown *during* ShutDown
924
- if ((thrErr = Threading::GetThreadError ()) != nullptr )
924
+ if (! (thrErr = Threading::GetThreadError ())-> Empty () )
925
925
ErrorMessageBox (" [thread] " + thrErr->message , thrErr->caption , thrErr->flags );
926
926
927
927
// cleanup signal handlers, etc
You can’t perform that action at this time.
0 commit comments