Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
Fixed infinite loop #44
Browse files Browse the repository at this point in the history
  • Loading branch information
jgelens committed Dec 29, 2013
1 parent 0f51513 commit 26f5f1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geventwebsocket/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def handle(self):
message = self.ws.receive()
except WebSocketError:
self.protocol.on_close()
break

self.protocol.on_message(message)

Expand Down

0 comments on commit 26f5f1f

Please sign in to comment.