Browse Source

Merge pull request #10462 from AvaloniaUI/fixes/10399-collectionchanged-sync

Bump collection change event priority.
pull/10476/head
Max Katz 4 years ago
committed by GitHub
parent
commit
cae0752908
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Controls/Utils/CollectionChangedEventManager.cs

2
src/Avalonia.Controls/Utils/CollectionChangedEventManager.cs

@ -141,7 +141,7 @@ namespace Avalonia.Controls.Utils
else
{
var eCapture = e;
Dispatcher.UIThread.Post(() => Notify(_collection, eCapture, l));
Dispatcher.UIThread.Post(() => Notify(_collection, eCapture, l), DispatcherPriority.Send);
}
}
}

Loading…
Cancel
Save