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

Creating channel later on does not work #9

Open
StephanHoyer opened this issue Feb 8, 2014 · 0 comments
Open

Creating channel later on does not work #9

StephanHoyer opened this issue Feb 8, 2014 · 0 comments

Comments

@StephanHoyer
Copy link

First: great work. Thanks!

When I create a channel after using an existing one, the subscribe is not called.

I just looked into the code and found a way how to solve this issue

If I call onopen immediately an not on next tick (what is strangely not working) it works like a charm.

https://github.com/sockjs/websocket-multiplex/blob/master/multiplex_client.js#L68

Whats the problem here?

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