mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-21 17:01:35 +00:00
errcheck; sort some stuff out
This commit is contained in:
committed by
Ethan Buchman
parent
563faa98de
commit
d7cb291fb2
@ -354,7 +354,7 @@ func (c *WSClient) writeRoutine() {
|
||||
ticker.Stop()
|
||||
if err := c.conn.Close(); err != nil {
|
||||
// ignore error; it will trigger in tests
|
||||
// likely because it's closing and already closed connection
|
||||
// likely because it's closing an already closed connection
|
||||
}
|
||||
c.wg.Done()
|
||||
}()
|
||||
@ -406,7 +406,7 @@ func (c *WSClient) readRoutine() {
|
||||
defer func() {
|
||||
if err := c.conn.Close(); err != nil {
|
||||
// ignore error; it will trigger in tests
|
||||
// likely because it's closing and already closed connection
|
||||
// likely because it's closing an already closed connection
|
||||
}
|
||||
c.wg.Done()
|
||||
}()
|
||||
|
Reference in New Issue
Block a user