mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-11 10:36:37 +00:00
Fix quit
This commit is contained in:
parent
14d13167a7
commit
e4e704f480
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ func AddLogSystem(logSystem LogSystem) {
|
||||||
defer mutex.Unlock()
|
defer mutex.Unlock()
|
||||||
if logSystems == nil {
|
if logSystems == nil {
|
||||||
logMessages = make(chan *logMessage)
|
logMessages = make(chan *logMessage)
|
||||||
quit = make(chan bool)
|
quit = make(chan bool, 1)
|
||||||
go start()
|
go start()
|
||||||
}
|
}
|
||||||
logSystems = append(logSystems, logSystem)
|
logSystems = append(logSystems, logSystem)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue