winemac: Clear latent parent on window close to break potential retain cycle.
This commit is contained in:
parent
512237ebe6
commit
029bcf97dd
|
@ -1392,6 +1392,11 @@ - (BOOL)windowShouldClose:(id)sender
|
|||
return NO;
|
||||
}
|
||||
|
||||
- (void) windowWillClose:(NSNotification*)notification
|
||||
{
|
||||
self.latentParentWindow = nil;
|
||||
}
|
||||
|
||||
- (void)windowWillMiniaturize:(NSNotification *)notification
|
||||
{
|
||||
if (!ignore_windowMiniaturize)
|
||||
|
|
Loading…
Reference in New Issue