mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Await async websocket closure (#516)
This commit is contained in:
parent
6ff2d73c3d
commit
5f2097c063
1 changed files with 2 additions and 2 deletions
|
|
@ -147,7 +147,7 @@ class Mux:
|
|||
self.running.stop()
|
||||
|
||||
if self.ws:
|
||||
self.ws.close()
|
||||
await self.ws.close()
|
||||
self.ws = None
|
||||
|
||||
break
|
||||
|
|
@ -165,6 +165,6 @@ class Mux:
|
|||
self.running.stop()
|
||||
|
||||
if self.ws:
|
||||
self.ws.close()
|
||||
await self.ws.close()
|
||||
self.ws = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue