Skip to content

Conversation

@danxuliu
Copy link
Member

@danxuliu danxuliu commented Sep 11, 2020

Although this fixes some memory leaks the more relevant fixes are the event handler leaks, as they caused WebRTC events to be dispatched to objects from previous calls (although this should not have caused performance issues anyway due to the event handlers being pretty lightweight and the Vue components ignoring the models once they were no longer part of the CallParticipantCollection).

There are still some call related leaks, but I do not know yet how to fix them (or if they are actually browser bugs rather than Talk bugs), so something for another pull request.

This fixes a memory leak of the view associated to the
SpeakingWhileMutedWarner as well as any other component that the view is
part of (due to the parent component reference of Vue).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This fixes some events being still handled by the analyzers after they
were destroyed.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This fixes some events being still handled by the models after they were
removed from the collection.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu force-pushed the fix-memory-and-event-handler-leaks-in-calls branch from f10db1f to d8bf1e1 Compare September 15, 2020 23:07
@danxuliu danxuliu marked this pull request as ready for review September 15, 2020 23:08
@danxuliu
Copy link
Member Author

/backport to stable19

@danxuliu
Copy link
Member Author

/backport to stable18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants