mirror of
https://git.sr.ht/~emersion/tlstunnel
synced 2024-11-19 15:53:50 +01:00
Stop certmagic cache on shutdown
This commit is contained in:
parent
3764c75098
commit
0fb214afc1
@ -121,6 +121,7 @@ func (srv *Server) Stop() {
|
||||
for _, ln := range srv.Listeners {
|
||||
ln.Stop()
|
||||
}
|
||||
srv.acmeCache.cache.Stop()
|
||||
}
|
||||
|
||||
// Replace starts the server but takes over existing listeners from an old
|
||||
|
Loading…
Reference in New Issue
Block a user