You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we notice that after we invoke net.Listen there is a listener in there that'll be bound to an address, but if any error occurs it won't be released at all
The text was updated successfully, but these errors were encountered:
odeke-em
added a commit
to orijtech/tm-db
that referenced
this issue
Jun 28, 2022
Uses Go's named return value feature to properly check and
ensure that if any error is encountered, that we properly
invoke .Close for the bound net listener inside of ListenAndServe.
Fixestendermint#268
If we examine the code in here
tm-db/remotedb/grpcdb/server.go
Lines 19 to 28 in b3c748f
we notice that after we invoke net.Listen there is a listener in there that'll be bound to an address, but if any error occurs it won't be released at all
The text was updated successfully, but these errors were encountered: