parent
202a4c6525
commit
2f30f4f69f
|
@ -303,6 +303,7 @@ class Sanic:
|
||||||
await fut
|
await fut
|
||||||
except (CancelledError, ConnectionClosed):
|
except (CancelledError, ConnectionClosed):
|
||||||
pass
|
pass
|
||||||
|
finally:
|
||||||
self.websocket_tasks.remove(fut)
|
self.websocket_tasks.remove(fut)
|
||||||
await ws.close()
|
await ws.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user