Replies: 1 comment 6 replies
-
Neither |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There seems to be an issue with thread safety in BindableCollection.
When two threads modify the collection at the same time, one calling ClearItems, the other calling RemoveItem, it can cause
OnCollectionChangingto throw an exception.Example timeline:
collection.ClearItems()Execute.OnUIThreadSynccollection.Remove(firstItem), this callsRemoveItemwithindexargument set to0base.ClearItems()Execute.OnUIThreadSyncOnCollectionChangingbecause the item at index 0 does not exist anymoreBeta Was this translation helpful? Give feedback.
All reactions