Server Close Comment
This commit is contained in:
parent
c234b11cc2
commit
c25e682fa4
|
@ -151,6 +151,7 @@ func (s *Server) ConfigureAutostart(autostart bool) {
|
|||
s.config.Save(s.config.ConfigDir, s.config.FilePath)
|
||||
}
|
||||
|
||||
// Close shuts down the cwtch server in a safe way.
|
||||
func (s *Server) Close() {
|
||||
log.Infof("Shutting down server")
|
||||
s.lock.Lock()
|
||||
|
|
Loading…
Reference in New Issue