fix The future belongs to a different loop error
This commit is contained in:
parent
06350a13cb
commit
aed19ff6ce
@ -71,7 +71,6 @@ class WebSocketChannel:
|
|||||||
Close the WebSocketChannel
|
Close the WebSocketChannel
|
||||||
"""
|
"""
|
||||||
|
|
||||||
await self._websocket.close()
|
|
||||||
self._closed = True
|
self._closed = True
|
||||||
|
|
||||||
def is_closed(self) -> bool:
|
def is_closed(self) -> bool:
|
||||||
|
Loading…
Reference in New Issue
Block a user