-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash in Observation+Combine l.36 #38
Labels
bug
Something isn't working
Comments
// @fredyshox |
I can look into that. |
thank you! |
I fixed this bug in #39, sorry it took so long. It's weird, because I've been personally using this API in various projects, but never with |
Thank you for fixing this! 👏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I'm using a combine publisher like this
the output is assigned (through some mapping) to a
text
in aUILabel
.But when executed Defaults crashes in Observation+Combine l.36:
reason:
Thread 1: Fatal error: Invalid state: Received value before receiving subscription
Maybe this issue is helpful (same error reason): CombineCommunity/RxCombine#6
One (hacky) way to fix this could be to dispatch
_ = subscriber?.receive(change)
to the next run loop viaDispatchQueue.main.async { ... }
The text was updated successfully, but these errors were encountered: