Skip to content

Commit

Permalink
Prevent crash when closing simple-websocket connection (Fixes #311)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Mar 21, 2023
1 parent 2bcfee3 commit 71e7d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engineio/async_drivers/threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def wait(self):
try:
return self.ws.receive()
except ConnectionClosed:
raise IOError()
return None


_async = {
Expand Down

0 comments on commit 71e7d36

Please sign in to comment.