Skip to content

Commit

Permalink
Merge pull request #7343 from AvaloniaUI/fixes/6930-sync-context-prio…
Browse files Browse the repository at this point in the history
…rity

Reduce the priority in AvaloniaSynchronizationContext.
  • Loading branch information
kekekeks authored and grokys committed Jan 17, 2022
1 parent 08bc73e commit 9aeed58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void InstallIfNeeded()
/// <inheritdoc/>
public override void Post(SendOrPostCallback d, object? state)
{
Dispatcher.UIThread.Post(() => d(state), DispatcherPriority.Send);
Dispatcher.UIThread.Post(() => d(state), DispatcherPriority.Background);
}

/// <inheritdoc/>
Expand Down

0 comments on commit 9aeed58

Please sign in to comment.