fix another stupid bug

This commit is contained in:
Marks Polakovs 2020-04-07 11:47:44 +02:00
parent d3a44d5f0a
commit 7b5315d470

View file

@ -135,7 +135,7 @@ class Session(object):
if self.pc.iceConnectionState == "failed": if self.pc.iceConnectionState == "failed":
await self.pc.close() await self.pc.close()
self.pc = None self.pc = None
await websocket.close(1008) await self.websocket.close(1008)
return return
@self.pc.on("track") @self.pc.on("track")