Properly stop room's processor
This commit is contained in:
parent
b7fb219307
commit
761dda2575
|
@ -74,6 +74,7 @@ EventsCycle:
|
|||
log.Println(rn, "emptied room")
|
||||
}
|
||||
delete(rooms, rn)
|
||||
r.events <- ClientEvent{eventType: EventTerm}
|
||||
close(r.events)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue