mirror of
https://github.com/danderson/netboot.git
synced 2025-10-16 18:11:21 +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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Shutdown causes Serve() to exit, cleaning up behind itself.
|
||||||
func (s *Server) Shutdown() {
|
func (s *Server) Shutdown() {
|
||||||
select {
|
select {
|
||||||
case s.errs <- nil:
|
case s.errs <- nil:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user