Commit e4e704f4 authored by obscuren's avatar obscuren

Fix quit

parent 14d13167
......@@ -97,7 +97,7 @@ func AddLogSystem(logSystem LogSystem) {
defer mutex.Unlock()
if logSystems == nil {
logMessages = make(chan *logMessage)
quit = make(chan bool)
quit = make(chan bool, 1)
go start()
}
logSystems = append(logSystems, logSystem)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment