Commits

Lon Ingram  committed 17e4e1e

Kill session on receipt of a Closed message

  • Participants
  • Parent commits eaabe6e

Comments (0)

Files changed (1)

File socketio/transports.py

             while True:
                 message = websocket.receive()
 
-                if message is None:
+                if not message:
                     session.kill()
                     break
                 else: