summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authorkevin_walzer <kevin_walzer@noemail.net>2016-01-09 02:58:47 (GMT)
committerkevin_walzer <kevin_walzer@noemail.net>2016-01-09 02:58:47 (GMT)
commitdae3f11b479a6a05cd4fe7e208473ca370b7a98f (patch)
tree0472f8d999250af4e11717652402caac105a3493 /macosx/tkMacOSXWm.c
parent44c8cf885bbaaffb3a2c5fc449c4f57ec7dbda15 (diff)
downloadtk-dae3f11b479a6a05cd4fe7e208473ca370b7a98f.zip
tk-dae3f11b479a6a05cd4fe7e208473ca370b7a98f.tar.gz
tk-dae3f11b479a6a05cd4fe7e208473ca370b7a98f.tar.bz2
Additional fixes for memory leaks, window flickering on OS X 10.11; thanks to Marc Culler for patch
FossilOrigin-Name: 43590ff8ed2ca41b5a6ef7ee3610a89742a618ea
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 308ee11..3ea2f51 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -902,6 +902,8 @@ TkWmDeadWindow(
[front makeKeyAndOrderFront:NSApp];
}
}
+ [NSApp _resetAutoreleasePool];
+
#if DEBUG_ZOMBIES > 0
fprintf(stderr, "================= Pool dump ===================\n");
[NSAutoreleasePool showPools];