Fix for crash on exit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-05-05 20:51:18 +00:00
parent 7f5f144a81
commit 1ae2e0af5a
2 changed files with 4 additions and 0 deletions

View File

@ -733,7 +733,9 @@ void wxApp::CleanUp()
#if wxUSE_THREADS
delete wxPendingEvents;
wxPendingEvents = NULL;
delete wxPendingEventsLocker;
wxPendingEventsLocker = NULL;
#endif
// check for memory leaks

View File

@ -733,7 +733,9 @@ void wxApp::CleanUp()
#if wxUSE_THREADS
delete wxPendingEvents;
wxPendingEvents = NULL;
delete wxPendingEventsLocker;
wxPendingEventsLocker = NULL;
#endif
// check for memory leaks