update golangci-lint

This commit is contained in:
aler9
2021-10-30 13:06:23 +02:00
parent 2e6926a97e
commit 653b3ee993
12 changed files with 147 additions and 264 deletions

View File

@@ -294,7 +294,6 @@ func (ss *ServerSession) run() {
if (ss.state != ServerSessionStatePublish &&
ss.state != ServerSessionStateRead) ||
*ss.setuppedTransport == TransportTCP {
// close if there are no associated connections
if len(ss.conns) == 0 {
return liberrors.ErrServerSessionNoAssociatedConns{}