add waitgroup, exit handlers to logging server

This commit is contained in:
Bradley Cicenas
2017-02-05 11:25:30 +11:00
parent 2b279efc4e
commit 198d4974e3
2 changed files with 20 additions and 16 deletions
+2
View File
@@ -17,6 +17,8 @@ func main() {
for {
exit := Display(g)
if exit {
log.Notice("shutting down")
log.Exit()
return
}
}