Hello @Shyam Butani ,
winrt::single_threaded_observable_vector
is safe to use from a single thread but is not safe to use from multiple threads.you are using it on multiple threads, which is a violation of the rules, and the results are undefined.
If you want an IObservableVector
that is multithread safe, it is recommended to use multi_threaded_observable_vector
.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.