We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f06e9cc commit ffed95fCopy full SHA for ffed95f
p2p/net/upgrader/conn.go
@@ -65,6 +65,7 @@ func (t *transportConn) ConnState() network.ConnectionState {
65
}
66
67
func (t *transportConn) CloseWithError(errCode network.ConnErrorCode) error {
68
+ defer t.scope.Done()
69
if ce, ok := t.MuxedConn.(network.CloseWithErrorer); ok {
70
return ce.CloseWithError(errCode)
71
0 commit comments