pixiecore: document Shutdown.

This commit is contained in:
David Anderson 2016-08-16 00:26:03 -07:00
parent 0e0eaa8454
commit e57cdc6354

View File

@ -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: