-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug 🐞
I only tested on Android on many physical devices in .net Maui 10, ReactiveUI newest
In app you can see Button1 and Button2 with ReactiveCommands 1 and 2
Bug exists always on only 1st created ReactiveCommand in app, so we can observe that Button1 crash app, Button2 works good
this crash:
ClickCommand1 = ReactiveCommand.CreateFromTask(ClickCommand1Execute);
this also crash
ClickCommand1 = ReactiveCommand.CreateFromTask(ClickCommand1Execute, outputScheduler: RxSchedulers.MainThreadScheduler);
this works fine
ClickCommand1 = ReactiveCommand.CreateFromTask(ClickCommand1Execute, outputScheduler: RxApp.MainThreadScheduler);
Step to reproduce
- Open repro app on Android
- Click on 'Button 1'
- Crash
Reproduction repository
https://github.com/reactiveui/ReactiveUI
Expected behavior
Button click should not crash app
Screenshots 🖼️
No response
IDE
Rider macOS
Operating system
Mac OS
Version
No response
Device
Samsung S23
ReactiveUI Version
22.3.1
Additional information ℹ️
Reproduction 100%