Browse Source
Update native/Avalonia.Native/src/OSX/window.mm
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
pull/6867/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/window.mm
|
|
|
@ -207,7 +207,8 @@ public: |
|
|
|
Window = nullptr; |
|
|
|
|
|
|
|
try{ |
|
|
|
[window close]; |
|
|
|
// Seems to throw sometimes on application exit. |
|
|
|
[window close]; |
|
|
|
} |
|
|
|
catch(NSException*){} |
|
|
|
} |
|
|
|
|