From: Julian Smart Date: Sun, 13 Apr 2003 21:08:39 +0000 (+0000) Subject: Set wxPendingEvents to NULL after deleting it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70ddb200c10bb6f1075f4a39452fdcf77f84fdf5 Set wxPendingEvents to NULL after deleting it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/app.cpp b/src/mac/app.cpp index bedbae9605..ebc798b4fd 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -651,6 +651,7 @@ void wxApp::CleanUp() delete wxWinMacControlList ; } delete wxPendingEvents; + wxPendingEvents = NULL; #if wxUSE_THREADS delete wxPendingEventsLocker; diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index bedbae9605..ebc798b4fd 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -651,6 +651,7 @@ void wxApp::CleanUp() delete wxWinMacControlList ; } delete wxPendingEvents; + wxPendingEvents = NULL; #if wxUSE_THREADS delete wxPendingEventsLocker;