mirror of https://github.com/poanetwork/quorum.git
Fix quit
This commit is contained in:
parent
14d13167a7
commit
e4e704f480
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue