remove return value from Close()

This commit is contained in:
aler9
2023-08-14 11:07:52 +02:00
parent e26ccf0858
commit 1a3e6ad092
6 changed files with 5 additions and 23 deletions

View File

@@ -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.