Browse Source
Merge pull request #9301 from AvaloniaUI/fixes/osx-menu-re-entrancy-crash-backport
backport: osx re-entrancy fix.
pull/9299/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
native/Avalonia.Native/src/OSX/AvnWindow.mm
|
|
|
@ -385,7 +385,7 @@ |
|
|
|
return true; |
|
|
|
} |
|
|
|
|
|
|
|
-(void)resignKeyWindow |
|
|
|
-(void)windowDidResignKey:(NSNotification *)notification |
|
|
|
{ |
|
|
|
if(_parent) |
|
|
|
_parent->BaseEvents->Deactivated(); |
|
|
|
@ -393,8 +393,6 @@ |
|
|
|
[self showAppMenuOnly]; |
|
|
|
|
|
|
|
[self invalidateShadow]; |
|
|
|
|
|
|
|
[super resignKeyWindow]; |
|
|
|
} |
|
|
|
|
|
|
|
- (void)windowDidMove:(NSNotification *_Nonnull)notification |
|
|
|
|