mirror of
https://github.com/aler9/gortsplib
synced 2025-10-13 02:43:53 +08:00
remove return value from Close()
This commit is contained in:
@@ -318,12 +318,9 @@ func (s *Server) Start() error {
|
||||
}
|
||||
|
||||
// Close closes all the server resources and waits for them to close.
|
||||
func (s *Server) Close() error {
|
||||
func (s *Server) Close() {
|
||||
s.ctxCancel()
|
||||
s.wg.Wait()
|
||||
|
||||
// TODO: remove return value in next major version
|
||||
return s.closeError
|
||||
}
|
||||
|
||||
// Wait waits until all server resources are closed.
|
||||
|
Reference in New Issue
Block a user