You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
policy: Change policy resolver back to a shared pointer
Change policy resolver back to a shared pointer, and manage
NetworkPolicyMap destruction explicitly by splitting the map to singleton
and 'NetworkPolicyMapImpl' and by posting the 'NetworkPolicyMapImpl' to
the main thread for deletion.
NetworkPolicyMapImpl is managed via an unique_ptr, which required the
removal of use of 'shared_from_this', which was possible due to
simplified clean-up of the old map now that an atomic swap is used for
the policy map update.
This change allows long lived connections on a removed listener to keep
on functioning, including receiving policy updates via the singleton
policy map.
Signed-off-by: Jarno Rajahalme <[email protected]>
0 commit comments