Browse Source

Removed never happening condition (#14536)

pull/12467/merge
Yoh Deadfall 2 years ago
committed by GitHub
parent
commit
d9b0685ee9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Base/Threading/Dispatcher.Queue.cs

2
src/Avalonia.Base/Threading/Dispatcher.Queue.cs

@ -65,7 +65,7 @@ public partial class Dispatcher
job = _queue.Peek();
if (job == null)
return;
if (priority != null && job.Priority < priority.Value)
if (job.Priority < priority.Value)
return;
ExecuteJob(job);
}

Loading…
Cancel
Save