Browse Source
Merge pull request #4924 from donandren/issues/4923
macos fix crash on popup close #4293
pull/4926/head
danwalmsley
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
native/Avalonia.Native/src/OSX/window.mm
|
|
|
@ -1338,6 +1338,12 @@ NSArray* AllLoopModes = [NSArray arrayWithObjects: NSDefaultRunLoopMode, NSEvent |
|
|
|
} |
|
|
|
|
|
|
|
_parent->BaseEvents->RunRenderPriorityJobs(); |
|
|
|
|
|
|
|
if (_parent == nullptr) |
|
|
|
{ |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
_parent->BaseEvents->Paint(); |
|
|
|
} |
|
|
|
|
|
|
|
|