mirror of https://github.com/tailscale/tailscale/
wgengine/bench: handle multiple Engine status callbacks
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>pull/1895/head
parent
6618e82ba2
commit
a72fb7ac0b
Loading…
Reference in New Issue