Skip to content

Exception in Server-Side Event - Disconnect Not Detected #2615

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

Closed
kaansoral opened this issue Jul 15, 2016 · 1 comment
Closed

Exception in Server-Side Event - Disconnect Not Detected #2615

kaansoral opened this issue Jul 15, 2016 · 1 comment

Comments

@kaansoral
Copy link

I decided to let clients cause exceptions in server events, otherwise it's almost impossible to cover all exception scenarios - this is all great in practice, exceptions are caught by socket.io, the code is simpler

However, when an exception occurs in the server-side event handler, the client is disconnected, yet the client-side "disconnect" event isn't triggered

I want the client side "disconnect" to trigger whenever the connection is severed

Is it possible to remedy/fix this issue, I'm guessing this is a long-standing issue with ties to #2285

@darrachequesne
Copy link
Member

That issue was closed automatically. Please check if your issue is fixed with the latest release, and reopen if needed (with a fiddle reproducing the issue if possible).

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