diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXWm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c index a3290f1..506501c 100644 --- a/macosx/tkMacOSXWm.c +++ b/macosx/tkMacOSXWm.c @@ -975,6 +975,11 @@ TkWmDeadWindow( } } } + /* + * Process all events immediately to get rid of potential zombies + * as soon as possible. + */ + while (Tk_DoOneEvent(TK_ALL_EVENTS|TK_DONT_WAIT)) {} [NSApp _resetAutoreleasePool]; #if DEBUG_ZOMBIES > 0 |