EventBus icon indicating copy to clipboard operation
EventBus copied to clipboard

some objects get lost

Open moxgeek opened this issue 3 years ago • 1 comments

i do submit several object using the post() method from a service who fetch data from a third part . ( a listener who receive data and send it immediately to an activity using post method) the activity in question has been registred using register(this) inside onCreate function.
in some devices ( slower ones ) , the object never received in onMessageEvent method . my scenario : loop of 100 object to be submitted to the same activity . display a log before the post call , and inside the onMessageEvent call. result :

100 lines logged before the post call 75 lines logged inside onMessageEvent

moxgeek avatar Dec 21 '20 09:12 moxgeek

Well, is the activity maybe not subscribed at all times events are posted?

Can't really help with an example so we can reproduce the issue.

greenrobot-team avatar Jan 12 '21 12:01 greenrobot-team