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

Setting disconnected = true prior to firing disconnect event, to avoid sc #484

Closed
wants to merge 1 commit into from
Closed

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