-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
Lines 195 to 198 in c2d1b41
// Shutdown closes all udp connections and unregisters the service | |
func (s *Server) Shutdown() { | |
s.shutdown() | |
} |
Should be
if err := s.shutdown(); err != nil {
log.Printf("Error shutting down the server: %v", err)
}
shutdown()
itself should propagate or print errors from closing ipv4conn and ipv6conn.
Metadata
Metadata
Assignees
Labels
No labels