mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/wnode | fix ticker stop in wnode
This commit is contained in:
parent
b7cc43783b
commit
9dc4e9a8dd
1 changed files with 1 additions and 0 deletions
|
|
@ -599,6 +599,7 @@ func messageLoop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ticker := time.NewTicker(time.Millisecond * 50)
|
ticker := time.NewTicker(time.Millisecond * 50)
|
||||||
|
defer ticker.Stop()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue