Closed christosk92 closed 1 month ago
It throws a COMException with HRESULT: -2147417842(0x8001010E) which is: RPC_E_WRONG_THREAD
I was able to clone DynamicData and point it down to:
Ok so basically what went wrong is, I was editing the list from a non UI thread which I guess caused this issue..
Wrapping the Edit function in a UI synchronization block fixed it for now. I would love to see a better error message tho !
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug 🐞
I am using ReactiveUI version 20.1.1 in WinUI
I have a layout something like this:
With:
If I reload the sourceCache (_items) with new data, the app crashes in its entirety without a meaningful message.
I cloned the repo to try and find out what goes wrong, and it seems that the
DispatcherQueueScheduler.cs
class is to blame, specifically the function on line 78:d.Disposable = action(this, state);
This throws an exception: COMException, which upon inspecting the stacktrace, contains the following:
Is this an issue with:
All help/thoughts are appreciated
Step to reproduce
Reproduction repository
No response
Expected behavior
No crash !
Screenshots 🖼️
No response
IDE
No response
Operating system
No response
Version
No response
Device
No response
ReactiveUI Version
No response
Additional information ℹ️
No response