Properly stop room's processor
This commit is contained in:
parent
b7fb219307
commit
761dda2575
2 changed files with 2 additions and 1 deletions
|
@ -74,6 +74,7 @@ EventsCycle:
|
||||||
log.Println(rn, "emptied room")
|
log.Println(rn, "emptied room")
|
||||||
}
|
}
|
||||||
delete(rooms, rn)
|
delete(rooms, rn)
|
||||||
|
r.events <- ClientEvent{eventType: EventTerm}
|
||||||
close(r.events)
|
close(r.events)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Version = "1.9.0"
|
Version = "1.9.1"
|
||||||
|
|
||||||
StateTopicFilename = "topic"
|
StateTopicFilename = "topic"
|
||||||
StateKeyFilename = "key"
|
StateKeyFilename = "key"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue