Browse Source

Merge pull request #1 from higrw123/higrw123-patch-fix-disconnect-miss

Update asyncio_client.py
pull/427/head
higrw123 6 years ago
committed by GitHub
parent
commit
7f9023dc9b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      socketio/asyncio_client.py

2
socketio/asyncio_client.py

@ -242,7 +242,7 @@ class AsyncClient(client.Client):
namespace=n)) namespace=n))
await self._send_packet(packet.Packet( await self._send_packet(packet.Packet(
packet.DISCONNECT, namespace='/')) packet.DISCONNECT, namespace='/'))
self.connected = False # self.connected = False
await self.eio.disconnect(abort=True) await self.eio.disconnect(abort=True)
def start_background_task(self, target, *args, **kwargs): def start_background_task(self, target, *args, **kwargs):

Loading…
Cancel
Save