-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
don't emit unsubscribe on client close #124
Conversation
Good job, can you add a unit test so we do not regress? |
sure 👍 |
covering test added @mcollina |
This PR blocks any logic a custom broker can run based on clients' unsubscriptions. Which is the advantage in not firing it? And without reverting this, is there any other way to catch client unsubscriptions on close event? |
This PR just blocks unsubscriptions on disconnects. If normal unsubscribe events are not being fired then it's an issue |
Ahum, I think we might have to revert this, at least partially. IMHO we should fire |
Yes, I believe we should fire unsubscribe only for clean=true clients. |
@behrad would you mind firing a PR? |
No description provided.