mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 11:36:26 -08:00
The cert manager spawned goroutines via goroutines.Tracker but nothing waited on them. On process shutdown ACME flows could be left mid-flight. Add CertManager.Shutdown which cancels every loop and blocks (up to its own ctx) until they exit. Containerboot and k8s-proxy defer it with a 30s budget.