mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-27 16:17:22 +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()
|
||||
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 a new issue