mirror of
https://github.com/aler9/gortsplib
synced 2025-11-02 21:14:07 +08:00
update golangci-lint
This commit is contained in:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user