Skip to content

Conversation

@ssgelm
Copy link
Contributor

@ssgelm ssgelm commented Jan 29, 2021

Currently, if a connection is not dropped gracefully its websocket stays in the connection list. This means that when send_event runs it throws an IOError when it gets to that connection, causing all subsequent sockets in the list to not receive updated events. This commit instead rescues the error and removes the closed websocket from the list of
connections.

Currently, if a connection is not dropped gracefully its websocket stays
in the connection list. This means that when `send_event` runs it throws
an `IOError` when it gets to that connection, causing all subsequent
sockets in the list to not receive updated events. This commit instead
rescues the error and removes the closed websocket from the list of
connections.
@kinow kinow self-assigned this Jan 29, 2021
@kinow kinow added this to the 1.3.1 milestone Jan 29, 2021
@kinow kinow merged commit 2ac428d into Smashing:master Jan 29, 2021
@kinow
Copy link
Member

kinow commented Jan 29, 2021

Added a changelog and merged. Will be included in next 1.3.1 release. Thanks a lot @ssgelm !

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.

2 participants