add waitgroup, exit handlers to logging server

This commit is contained in:
Bradley Cicenas
2017-02-05 00:25:30 +00:00
parent 2b279efc4e
commit 198d4974e3
2 changed files with 20 additions and 16 deletions

View File

@@ -17,6 +17,8 @@ func main() {
for {
exit := Display(g)
if exit {
log.Notice("shutting down")
log.Exit()
return
}
}