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

Websocket transport does not fire disconnect event #5

Closed
adeelraza opened this issue Nov 18, 2010 · 1 comment
Closed

Websocket transport does not fire disconnect event #5

adeelraza opened this issue Nov 18, 2010 · 1 comment

Comments

@adeelraza
Copy link

Transport.WebSocket.js does not fire apeDisconnect event.

Quick Fix

Adding this line in the closeWs function fixes the behavior.

closeWs: function() {
this.ape.fireEvent('apeDisconnect');

@lcharette
Copy link
Collaborator

This is over 3 year old. Reopen if necessary.

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