You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
There is a good chance that in the real world disconnect is not called.
I suggest you make unsubscribe an idempotent operation and always fire the callback, even if there is no subscription or not subscription loop running.
We fell into a trap when using the unsubscribe, the callback does not trigger when the subscription listen loop has been exited or is not running yet.
So if an app does:
There is a good chance that in the real world disconnect is not called.
I suggest you make unsubscribe an idempotent operation and always fire the callback, even if there is no subscription or not subscription loop running.
Test cases below:
The text was updated successfully, but these errors were encountered: