@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user