Skip to content

Conversation

tommedema
Copy link

Setting disconnected = true prior to firing disconnect event, to avoid scenario where socket disconnected is set to false inside disconnect event.

Should fix #483, although not tested.

@tommedema
Copy link
Author

I just tested if this fixed #483 and unfortunately it did not.

However, disconnected should be set to true in the disconnect event so this still fixes an (undocumented) bug.

…d scenario where socket disconnected is set to false inside disconnect event.
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

Successfully merging this pull request may close these issues.

socket Error: EPIPE, Broken pipe when closing many clients at once
2 participants