enable errcheck

This commit is contained in:
aler9
2023-08-13 15:21:13 +02:00
committed by Alessandro Ros
parent 08ab6c6ed2
commit 18ddae4c50
63 changed files with 344 additions and 203 deletions

View File

@@ -321,6 +321,8 @@ func (s *Server) Start() error {
func (s *Server) Close() error {
s.ctxCancel()
s.wg.Wait()
// TODO: remove return value in next major version
return s.closeError
}