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:
parent
7f5f144a81
commit
1ae2e0af5a
@ -733,7 +733,9 @@ void wxApp::CleanUp()
|
|||||||
|
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
delete wxPendingEvents;
|
delete wxPendingEvents;
|
||||||
|
wxPendingEvents = NULL;
|
||||||
delete wxPendingEventsLocker;
|
delete wxPendingEventsLocker;
|
||||||
|
wxPendingEventsLocker = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// check for memory leaks
|
// check for memory leaks
|
||||||
|
@ -733,7 +733,9 @@ void wxApp::CleanUp()
|
|||||||
|
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
delete wxPendingEvents;
|
delete wxPendingEvents;
|
||||||
|
wxPendingEvents = NULL;
|
||||||
delete wxPendingEventsLocker;
|
delete wxPendingEventsLocker;
|
||||||
|
wxPendingEventsLocker = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// check for memory leaks
|
// check for memory leaks
|
||||||
|
Loading…
Reference in New Issue
Block a user