From b0feedc5dbfedd81a749f452adee3147916b973a Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 4 May 2003 17:35:44 +0000 Subject: [PATCH] Avoid crash during global destruction. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/app.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.0