Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix event handler deregistration in TopBar #4155

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

danxuliu
Copy link
Member

Even if their code is identical two arrow functions are different instances, so the original one was not properly deregistered.

This caused a memory leak of the chat view or call view if the lobby is enabled while the user is in a conversation (due to the parent component reference of Vue, as that causes the siblings of the TopBar to be retained too).

Even if their code is identical two arrow functions are different
instances, so the original one was not properly deregistered.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu
Copy link
Member Author

/backport to stable19

@nickvergessen nickvergessen merged commit 58274a1 into master Sep 16, 2020
@nickvergessen nickvergessen deleted the fix-event-handler-deregistration-in-topbar branch September 16, 2020 06:51
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.

2 participants