summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXEvent.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-12-21 12:12:06 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-12-21 12:12:06 (GMT)
commit60480c3f5dfc5ab6e13b6e55a310e3b991879eac (patch)
tree95edbf2775f385130019de74bc06510673b84a7b /macosx/tkMacOSXEvent.c
parentf3e4c6787e4309d230f3d102105b2ebedf2d12ca (diff)
parent56005a00aae9d8be182d5643373980ee371417d6 (diff)
downloadtk-60480c3f5dfc5ab6e13b6e55a310e3b991879eac.zip
tk-60480c3f5dfc5ab6e13b6e55a310e3b991879eac.tar.gz
tk-60480c3f5dfc5ab6e13b6e55a310e3b991879eac.tar.bz2
Merged core-8-5-branch
Diffstat (limited to 'macosx/tkMacOSXEvent.c')
-rw-r--r--macosx/tkMacOSXEvent.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/macosx/tkMacOSXEvent.c b/macosx/tkMacOSXEvent.c
index 6685b80..3c59ac3 100644
--- a/macosx/tkMacOSXEvent.c
+++ b/macosx/tkMacOSXEvent.c
@@ -126,10 +126,6 @@ enum {
MODULE_SCOPE void
TkMacOSXFlushWindows(void)
{
- /* This can be called from outside the Appkit event loop,
- * so it needs its own AutoreleasePool.
- */
- NSAutoreleasePool *pool = [NSAutoreleasePool new];
NSArray *macWindows = [NSApp orderedWindows];
for (NSWindow *w in macWindows) {
@@ -137,7 +133,6 @@ TkMacOSXFlushWindows(void)
[w flushWindow];
}
}
- [pool drain];
}
/*