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

No trigger onclose events #131

Open
stevenluoxiaohua opened this issue Jan 23, 2013 · 1 comment
Open

No trigger onclose events #131

stevenluoxiaohua opened this issue Jan 23, 2013 · 1 comment

Comments

@stevenluoxiaohua
Copy link

call close method, can not trigger onclose event.

@gimite
Copy link
Owner

gimite commented Jan 29, 2013

onclose event is fired in my environment with a server using em-websocket. What WebSocket server do you use? Possible reasons I can think of:

  • You call close() on WebSocket which is not opened yet or already closed.
  • Your WebSocket server doesn't handle closing request correctly.

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

2 participants