forked from rDrama/rDrama
fix error when joining and leaving chat instantly before heartbeat happens
parent
3e37abc7ab
commit
7ed89dd111
|
@ -250,6 +250,8 @@ def disconnect(v):
|
|||
typing[room].remove(v.username)
|
||||
|
||||
leave_room(room)
|
||||
|
||||
if online.get(room):
|
||||
refresh_online(room)
|
||||
|
||||
commit_and_close()
|
||||
|
|
Loading…
Reference in New Issue