Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Fix RC in removing peers/endpoints #108

Merged
merged 1 commit into from
Apr 6, 2022
Merged

Conversation

mickel8
Copy link
Contributor

@mickel8 mickel8 commented Apr 4, 2022

We had a RC while removing peers/endpoints because we were assuming that returning action remove_child from Membrane callback will immidiately remove given child from Membrane context.

That's not true and can result in desynchronization between our internal state and Membrane ctx i.e. some child can be present in Membrane context but it might be absent in our internal state.

Current solution can be changed once Membrane starts informing about successful peer/endpoint removal.

@mickel8 mickel8 marked this pull request as ready for review April 4, 2022 10:37
@mickel8 mickel8 requested a review from Rados13 April 4, 2022 10:37
@mickel8 mickel8 merged commit 629fc0a into master Apr 6, 2022
@mickel8 mickel8 deleted the fix-removing-endpoints branch April 6, 2022 12:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants