Commit 029bcf97 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Clear latent parent on window close to break potential retain cycle.

parent 512237eb
......@@ -1392,6 +1392,11 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
return NO;
}
- (void) windowWillClose:(NSNotification*)notification
{
self.latentParentWindow = nil;
}
- (void)windowWillMiniaturize:(NSNotification *)notification
{
if (!ignore_windowMiniaturize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment