Browse Source

remove unrelated change

pull/1423/head
Miguel Grinberg 3 months ago
parent
commit
ffafa4fb1b
Failed to extract signature
  1. 2
      src/socketio/async_server.py

2
src/socketio/async_server.py

@ -585,7 +585,7 @@ class AsyncServer(base_server.BaseServer):
self.manager.pre_disconnect(sid, namespace=namespace)
await self._trigger_event('disconnect', namespace, sid,
reason or self.reason.CLIENT_DISCONNECT)
await self.manager.disconnect(sid, namespace, reason=reason or self.reason.CLIENT_DISCONNECT, ignore_queue=True)
await self.manager.disconnect(sid, namespace, ignore_queue=True)
async def _handle_event(self, eio_sid, namespace, id, data):
"""Handle an incoming client event."""

Loading…
Cancel
Save