aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-07 22:05:59 +0800
committerobscuren <geffobscura@gmail.com>2014-07-07 22:05:59 +0800
commite4e704f48074161a175cc125c5fabdf94c095ca8 (patch)
tree99d1da0f6eb1d5e84db872099364444455897f3a
parent14d13167a723a0fa8ccfcf120131efe96cfc6256 (diff)
downloadgo-tangerine-e4e704f48074161a175cc125c5fabdf94c095ca8.tar
go-tangerine-e4e704f48074161a175cc125c5fabdf94c095ca8.tar.gz
go-tangerine-e4e704f48074161a175cc125c5fabdf94c095ca8.tar.bz2
go-tangerine-e4e704f48074161a175cc125c5fabdf94c095ca8.tar.lz
go-tangerine-e4e704f48074161a175cc125c5fabdf94c095ca8.tar.xz
go-tangerine-e4e704f48074161a175cc125c5fabdf94c095ca8.tar.zst
go-tangerine-e4e704f48074161a175cc125c5fabdf94c095ca8.zip
Fix quit
-rw-r--r--ethlog/loggers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethlog/loggers.go b/ethlog/loggers.go
index 219c78240..ec481edd8 100644
--- a/ethlog/loggers.go
+++ b/ethlog/loggers.go
@@ -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)