This commit is contained in:
yumoqing 2024-09-03 16:33:21 +08:00
parent 28593e279e
commit 48d5f3afeb

View File

@ -120,7 +120,10 @@ class RTCLLM:
await pc.close()
if peer.dc:
await peer.dc.close()
await self.ws_send(json.dumps({
'type':'disconnect',
'to': peer.info
})
peers = {
k:v for k,v in self.peers.items() if k != peerid
}