fixed (harmless) mem leak when wxUSE_THREADS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -140,10 +140,10 @@ void wxAppBase::CleanUp()
|
|||||||
delete wxTheColourDatabase;
|
delete wxTheColourDatabase;
|
||||||
wxTheColourDatabase = NULL;
|
wxTheColourDatabase = NULL;
|
||||||
|
|
||||||
#if wxUSE_THREADS
|
|
||||||
delete wxPendingEvents;
|
delete wxPendingEvents;
|
||||||
wxPendingEvents = NULL;
|
wxPendingEvents = NULL;
|
||||||
|
|
||||||
|
#if wxUSE_THREADS
|
||||||
delete wxPendingEventsLocker;
|
delete wxPendingEventsLocker;
|
||||||
wxPendingEventsLocker = NULL;
|
wxPendingEventsLocker = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user