Browse Source
Use actual infinite timeout instead of zero timeout (#14812)
Zero means zero, not infinite
pull/14826/head
Nikita Tsukanov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Base/Threading/Dispatcher.Invoke.cs
|
|
|
@ -656,7 +656,7 @@ public partial class Dispatcher |
|
|
|
{ |
|
|
|
InvokeImpl(new SendOrPostCallbackDispatcherOperation(this, priority.Value, action, arg, true), |
|
|
|
CancellationToken.None, |
|
|
|
default); |
|
|
|
TimeSpan.FromMilliseconds(-1)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|