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

Ensure PersistedElement are unmounted on application logout #5884

Merged
merged 2 commits into from
Apr 20, 2021

Conversation

germain-gg
Copy link
Contributor

Fixes element-hq/element-web#16725

PersistedElement is a React component that lets us float any widget on top of the app. It comes at the cost that we are responsible for its rendering. Upon a logout the React tree is correctly unmounted but no signal was sent to this class to notify it to remove its persisted elements

@germain-gg germain-gg requested a review from a team April 19, 2021 16:59
@germain-gg germain-gg requested a review from t3chguy April 20, 2021 07:54
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@germain-gg germain-gg merged commit 9d2833c into develop Apr 20, 2021
@germain-gg germain-gg deleted the gsouquet-jitsi-logout branch April 20, 2021 08:16
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.

Jitsi conference is still running after logout in element
2 participants