[Bug]: Mixing WPF and WinForms packages (ElementHost
ing WPF controls inside WinForms) breaks MainThreadScheduler (and possibly other things)
#3886
Labels
Describe the bug 🐞
WaitForDispatcherScheduler
silently breaks because apparently the dispatcher is either not created at all or not created before ElementHost appears. As a result all my.ObserveOn(RxApp.MainThreadScheduler)
calls don't actually do anything.Apparently there are also per-platform registrations that may clash, but I haven't observed the results yet.
Step to reproduce
.ObserveOn(RxApp.MainThreadScheduler)
to switch threadsReproduction repository
No response
Expected behavior
All should happen as normal
Screenshots 🖼️
No response
IDE
No response
Operating system
No response
Version
No response
Device
No response
ReactiveUI Version
20.1.1
Additional information ℹ️
Using net48
The text was updated successfully, but these errors were encountered: