diff --git a/pixiecore/pixiecore.go b/pixiecore/pixiecore.go index b9b2045..7587a7a 100644 --- a/pixiecore/pixiecore.go +++ b/pixiecore/pixiecore.go @@ -217,6 +217,7 @@ func (s *Server) Serve() error { return err } +// Shutdown causes Serve() to exit, cleaning up behind itself. func (s *Server) Shutdown() { select { case s.errs <- nil: