aaa
This commit is contained in:
parent
86c29a997f
commit
9da85215bb
1 changed files with 3 additions and 0 deletions
|
@ -179,7 +179,10 @@ class Session(object):
|
||||||
await self.websocket.close(1008)
|
await self.websocket.close(1008)
|
||||||
|
|
||||||
if self.connection_id in active_sessions:
|
if self.connection_id in active_sessions:
|
||||||
|
print(self.connection_id, "removing from active_sessions")
|
||||||
del active_sessions[self.connection_id]
|
del active_sessions[self.connection_id]
|
||||||
|
print("active_sessions now")
|
||||||
|
print(active_sessions)
|
||||||
if len(active_sessions) == 0:
|
if len(active_sessions) == 0:
|
||||||
write_ob_status(False)
|
write_ob_status(False)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue