update docs

This commit is contained in:
aler9
2021-11-28 12:30:28 +01:00
parent 1876546d05
commit a5d0128654
2 changed files with 5 additions and 4 deletions

View File

@@ -312,7 +312,7 @@ func (s *Server) Start() error {
return nil
}
// Close closes all the server resources and waits for the to close.
// Close closes all the server resources and waits for them to close.
func (s *Server) Close() error {
s.ctxCancel()
s.wg.Wait()