MT#55283 remove reciprocal subscriptions

During offer/answer, we remove existing subscriptions before
re-establishing the new set of subscriptions. But we must also remove
the subscriptions of previous subscribers in order to keep the lists of
subscriptions and subscribers correctly reciprocal.

Change-Id: I7d39fa59892159f41033ae6a40e7cb51d861b12e
(cherry picked from commit 41b0236915342c635b413884b8ecb2502b22c181)
mr11.1.1
Richard Fuchs 3 years ago
parent 23a7743c16
commit ba52ed949b

@ -3004,7 +3004,9 @@ static void __unsubscribe_all_offer_answer_subscribers(struct call_monologue *ml
continue;
}
GList *next = l->next;
__unsubscribe_one(cs->monologue, ml);
struct call_monologue *other_ml = cs->monologue;
__unsubscribe_one(other_ml, ml);
__unsubscribe_one(ml, other_ml);
l = next;
}
}

Loading…
Cancel
Save