mirror of
https://github.com/danderson/netboot.git
synced 2025-10-16 10:01:20 +02:00
pixiecore: document Shutdown.
This commit is contained in:
parent
0e0eaa8454
commit
e57cdc6354
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user