]> git.saurik.com Git - wxWidgets.git/commitdiff
Avoid crash during global destruction.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 4 May 2003 17:35:44 +0000 (17:35 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 4 May 2003 17:35:44 +0000 (17:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/app.cpp

index 3fcf24b91036ae05716f5c79ce7074407e3d2f6e..1e62d38bda83ea08a8063d66b05baf4255ff7d8a 100644 (file)
@@ -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