Skip to content
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

Sometimes events may be emited while activity is paused #2

Open
MFlisar opened this issue May 1, 2016 · 0 comments
Open

Sometimes events may be emited while activity is paused #2

MFlisar opened this issue May 1, 2016 · 0 comments

Comments

@MFlisar
Copy link
Owner

MFlisar commented May 1, 2016

it sometimes happens, that an event gets emited, while the activity is resumed due to the time difference between the valve checking the state and the forwarding to the real observer (in the meantime the state of the activity may have changed).

Workaround [IMPLEMENTED]:
Check the state when retrieving an event and resend the event to the bus => the activtiy is currently paused and you'll get the event when it's resumed again...

The RXBusBuilder is doing this... (mQueueSubscriptionSafetyCheckEnabled)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant