Avoid crash during global destruction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cfbf444a53
commit
b0feedc5db
@ -126,7 +126,9 @@ void wxApp::CleanUp()
|
||||
// create a module for that as it's part of the core.
|
||||
#if wxUSE_THREADS
|
||||
delete wxPendingEvents;
|
||||
wxPendingEvents = NULL;
|
||||
delete wxPendingEventsLocker;
|
||||
wxPendingEventsLocker = NULL;
|
||||
#endif
|
||||
|
||||
#if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT
|
||||
|
Loading…
Reference in New Issue
Block a user