call websocket close in channel close
This commit is contained in:
@@ -71,6 +71,7 @@ class WebSocketChannel:
|
||||
Close the WebSocketChannel
|
||||
"""
|
||||
|
||||
await self._websocket.close()
|
||||
self._closed = True
|
||||
|
||||
def is_closed(self) -> bool:
|
||||
|
Reference in New Issue
Block a user