Don't give misleading message for unhandled exceptions in a thread
The application doesn't necessarily terminate when a thread dies due to an unhandled exception, even though it will often crash later.
This commit is contained in:
parent
bf083479d5
commit
46d36d99c7
@ -697,7 +697,9 @@ void wxAppConsoleBase::OnUnhandledException()
|
||||
}
|
||||
|
||||
wxMessageOutputBest().Printf(
|
||||
"Unhandled %s; terminating\n", what
|
||||
"Unhandled %s; terminating %s.\n",
|
||||
what,
|
||||
wxIsMainThread() ? "the application" : "the thread in which it happened"
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user