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

connection.userCount on disconnected (onUserExpired) not updating? #5

Open
fabriek-huis opened this issue Oct 9, 2014 · 0 comments

Comments

@fabriek-huis
Copy link

this is a great Library for Cirrus thanks for releasing it, but there seems to be an issue. if a user disconnects via onUserExpired (loses connection) it just leaves the Cursor on stage (until it presumably reconnects) what is the best way to close that connection entirely the say way it controls the disconnect when you close the page down?

if i add the following method;
connection.onUserExpired = handleUserRemoved;

doesn't seem to flush the "connection.userCount" still says "total users: 2" (when should be one?).

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

No branches or pull requests

1 participant