mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-24 18:21:00 +00:00

It is possible to get multiple status callbacks from an Engine. We need to wait for at least one from each Engine. Without limiting to one per Engine, wait.Wait can exit early or can panic due to a negative counter. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>