From 829c8572da9ee3c79686cae3cfeb0636852c13a2 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 25 Sep 2011 12:14:52 +0000 Subject: [PATCH] adding missing autorelease pool, since this can be called from anywhere, fixes #13449 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/evtloop.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osx/cocoa/evtloop.mm b/src/osx/cocoa/evtloop.mm index 759c02b1ca..12e98beac0 100644 --- a/src/osx/cocoa/evtloop.mm +++ b/src/osx/cocoa/evtloop.mm @@ -254,6 +254,7 @@ void wxGUIEventLoop::DoStop() void wxGUIEventLoop::WakeUp() { + wxMacAutoreleasePool autoreleasepool; NSEvent *event = [NSEvent otherEventWithType:NSApplicationDefined location:NSMakePoint(0.0, 0.0) modifierFlags:0 -- 2.50.0