mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-28 11:56:15 +00:00
p2p: ignore transport close error during cleanup (#8011)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
c80734e5af
commit
a153f82433
@@ -32,9 +32,7 @@ func init() {
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
t.Cleanup(func() {
|
||||
require.NoError(t, transport.Close())
|
||||
})
|
||||
t.Cleanup(func() { _ = transport.Close() })
|
||||
|
||||
return transport
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user