Closed PARAIPAN9 closed 4 days ago
Messages | |
---|---|
:book: | Edited 2 files |
:book: | Created 0 files |
Generated by :no_entry_sign: Danger Swift against e902c435cf49a689fe078a8070a26dc66efd5b22
@Mergifyio backport release/v133
backport release/v133
Nice work on this @PARAIPAN9 👍
Thanks @mattreaganmozilla, I appreciate it!!
:scroll: Tickets
Jira ticket Github issue
:bulb: Description
After investigating, I've found out that the bug was caused by this PR that fixed FXIOS-10500. I'm not really 100% sure what was happening but we are dealing with references here and some kind of retain cycle was certainly occuring because after tapping the
+
(add new tab button) intermittently, 3, 4(a random number) of redux actions for opening a new tab were triggered.While trying to find the cause of this bug, I found an even bigger memory leak for Toolbar Buttons that were never deallocated because
self
was captured in the action handler.Reverting the change from the PR mentioned above and fixing the leak seemed to solve both problems. FXIOS-10500 and the one addressed in this PR.
Video
https://github.com/user-attachments/assets/3c211123-d9e4-4a2e-b89f-03754044e707
:pencil: Checklist
You have to check all boxes before merging
@Mergifyio backport release/v120
)