-
Notifications
You must be signed in to change notification settings - Fork 155
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
Protect call to client.enableAllSendQueues
#3886
base: develop
Are you sure you want to change the base?
Conversation
Fixes element-hq/element-x-android-rageshakes#3375 and other rageshakes.
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3886 +/- ##
========================================
Coverage 82.90% 82.90%
========================================
Files 1785 1785
Lines 45105 45105
Branches 5326 5326
========================================
Hits 37396 37396
Misses 5843 5843
Partials 1866 1866 ☔ View full report in Codecov by Sentry. |
Mmmm, this is weird, this means there is an old client still referenced? |
Nothing is done to stop Edit actually the scope should be destroyed, so this should work |
It's bound to the LoggedInFlowNode lifecycle, so this should be stopped at this point :/ |
According to the logs, the user was signed out but the app wasn't killed, so when the app was opened again it tried restoring the saved navigation state, which I guess either returned a new instance or retained one of our MatrixClient wrappers and then failed when it tried using the underlying Client:
|
So there is probably a scenario where |
Fixes https://github.com/element-hq/element-x-android-rageshakes/issues/3375 and other rageshakes.