upta/pubsub

Subscribing multiple times causes the action to be triggered more than once.

sbolum opened this issue · 2 comments

When we add subscribe code to somewhere like activity onCreate, page load etc, it's possible for this code to be called multiple times. Than, this causes the message action being called multiple times.

I think there should be a precaution or at least an option to prevent this situation.

upta commented

Ok then, I'll reevaluate my case and find a solution. Thanks