cmd/wnode | fix ticker stop in wnode

This commit is contained in:
ucwong 2020-04-01 11:42:13 +08:00
parent b7cc43783b
commit 9dc4e9a8dd

View file

@ -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 {