From 70ddb200c10bb6f1075f4a39452fdcf77f84fdf5 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 13 Apr 2003 21:08:39 +0000 Subject: [PATCH] Set wxPendingEvents to NULL after deleting it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/app.cpp | 1 + src/mac/carbon/app.cpp | 1 + 2 files changed, 2 insertions(+) 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; -- 2.45.2