Bind icon indicating copy to clipboard operation
Bind copied to clipboard

Method Unbind doesn't clear the subscription cache (objectSubs)

Open vlkam opened this issue 7 years ago • 0 comments

Solution :

Add to RemoveMemberChangeAction method this line objectSubs.Remove(key);

` internal static void RemoveMemberChangeAction(MemberChangeAction sub) { var key = Tuple.Create(sub.Target, sub.Member); MemberActions subs; if (objectSubs.TryGetValue(key, out subs)) { // Debug.WriteLine ("REMOVE CHANGE ACTION " + sub.Target + " " + sub.Member); subs.RemoveAction(sub);

            objectSubs.Remove(key);
        }
    }`

vlkam avatar Aug 21 '17 09:08 vlkam