mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-30 02:46:23 +02:00
Fix/websocket close await (1.4) (#517)
* Vector stores will create collections on query (#511) * Return empty embeddings list as empty list through gateway (#513) * Await async websocket closure
This commit is contained in:
parent
f6bccd7438
commit
d73af56690
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