mirror of
https://github.com/aler9/gortsplib
synced 2025-10-16 12:10:48 +08:00
remove return value from Close()
This commit is contained in:
@@ -195,10 +195,8 @@ func newServerSession(
|
||||
}
|
||||
|
||||
// Close closes the ServerSession.
|
||||
func (ss *ServerSession) Close() error {
|
||||
func (ss *ServerSession) Close() {
|
||||
ss.ctxCancel()
|
||||
// TODO: remove return value in next major version
|
||||
return nil
|
||||
}
|
||||
|
||||
// BytesReceived returns the number of read bytes.
|
||||
|
||||
Reference in New Issue
Block a user