Browse Source
Update asyncio_client.py
去除这个赋值会恢复主动断开连接时disconnect事件的触发
pull/427/head^2
higrw123
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
socketio/asyncio_client.py
|
|
@ -242,7 +242,7 @@ class AsyncClient(client.Client): |
|
|
|
namespace=n)) |
|
|
|
await self._send_packet(packet.Packet( |
|
|
|
packet.DISCONNECT, namespace='/')) |
|
|
|
self.connected = False |
|
|
|
# self.connected = False |
|
|
|
await self.eio.disconnect(abort=True) |
|
|
|
|
|
|
|
def start_background_task(self, target, *args, **kwargs): |
|
|
|