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 @@ 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user