From: Mattia Barbon Date: Sun, 4 May 2003 17:35:44 +0000 (+0000) Subject: Avoid crash during global destruction. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b0feedc5dbfedd81a749f452adee3147916b973a?ds=sidebyside Avoid crash during global destruction. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/app.cpp b/src/motif/app.cpp index 3fcf24b910..1e62d38bda 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -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