Browse Source
Merge pull request #3477 from AvaloniaUI/fixes/osx-exception-swallowing-before-mainloop
Check if an exception was thrown before entering the mainloop.
pull/3482/head
Nikita Tsukanov
7 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
0 deletions
-
src/Avalonia.Native/PlatformThreadingInterface.cs
|
|
|
@ -60,6 +60,7 @@ namespace Avalonia.Native |
|
|
|
|
|
|
|
public void RunLoop(CancellationToken cancellationToken) |
|
|
|
{ |
|
|
|
_exceptionDispatchInfo?.Throw(); |
|
|
|
var l = new object(); |
|
|
|
_exceptionCancellationSource = new CancellationTokenSource(); |
|
|
|
|
|
|
|
|