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:
@@ -126,7 +126,9 @@ void wxApp::CleanUp()
|
|||||||
// create a module for that as it's part of the core.
|
// create a module for that as it's part of the core.
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
delete wxPendingEvents;
|
delete wxPendingEvents;
|
||||||
|
wxPendingEvents = NULL;
|
||||||
delete wxPendingEventsLocker;
|
delete wxPendingEventsLocker;
|
||||||
|
wxPendingEventsLocker = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT
|
#if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT
|
||||||
|
Reference in New Issue
Block a user