mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-01 14:12:32 -08:00
Registering, replacing or unregistering a store, or calling Policy.Reload, waited for the policy change callbacks to return, deadlocking if the caller held a lock that a callback acquires, such as LocalBackend.mu. Invoke the callbacks from an execqueue instead. The effective policy is still updated by the time these calls return. Updates tailscale/corp#51945 Change-Id: I4afa36b9acaa0e0104e4e420c561eab076d06c80 Signed-off-by: Nick Khyl <[email protected]>