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

forceDestroy when resetting a widget #8045

Closed

Conversation

SimonBrandner
Copy link
Contributor

@SimonBrandner SimonBrandner commented Mar 12, 2022

Fixes element-hq/element-web#21399
Type: defect


Here's what your changelog entry will look like:

🐛 Bug Fixes

Preview: https://pr8045--matrix-react-sdk.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
@SimonBrandner SimonBrandner requested a review from a team as a code owner March 12, 2022 08:21
@github-actions github-actions bot added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Mar 12, 2022
@codecov
Copy link

codecov bot commented Mar 12, 2022

Codecov Report

Merging #8045 (be3e99c) into develop (14807de) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop    #8045   +/-   ##
========================================
  Coverage    26.79%   26.79%           
========================================
  Files          865      865           
  Lines        51974    51974           
  Branches     13168    13168           
========================================
  Hits         13926    13926           
  Misses       38048    38048           
Impacted Files Coverage Δ
src/components/views/elements/AppTile.tsx 49.42% <0.00%> (ø)

@robintown
Copy link
Member

While this does solve the freezing issue, I'm still seeing other weird behavior from the 2 Jitsi widgets I'm testing with, and I think the root cause of all this is that those widgets actually have the same widget ID, which is causing the app to get the persisted iframes confused. I would recommend we go with #8049 instead, which doesn't require forceDestroy.

@SimonBrandner
Copy link
Contributor Author

I haven't tested #8049 but if you say it fixes the issue it feels better than this solution 😅

@SimonBrandner SimonBrandner deleted the fix/jitsi-freeze branch March 13, 2022 18:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App freezes when switching between two rooms with Jitsi widgets
2 participants