-
Notifications
You must be signed in to change notification settings - Fork 29.3k
Reland fix memory leaks for tab selector [prod-leak-fix] #147689
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
Reland fix memory leaks for tab selector [prod-leak-fix] #147689
Conversation
cc @polina-c |
1f74d7d
to
9606fd3
Compare
@chingjun , can you add your review to enable autosubmit to enable google testing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM to trigger Google Testing
auto label is removed for flutter/flutter/147689, due to This PR has not met approval requirements for merging. The PR author is not a member of flutter-hackers and needs 1 more review(s) in order to merge this PR.
|
auto label is removed for flutter/flutter/147689, due to - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Here is the error:
May be we need to make things resilient to usage after disposal? |
@polina-c I think I just need to not set the animation in the |
Great! |
Sure, the test I added in test: Add a test that uses DefaultTabController fails without my fix in fix: Don't use dependOnInheritedWidgetOfExactType in the initState |
flutter/flutter@f1037a0...04424e1 2024-05-06 [email protected] Roll Flutter Engine from f2bfea5fdecd to a30ae7729c95 (1 revision) (flutter/flutter#147865) 2024-05-06 [email protected] Fix Tooltip.decoration comment (flutter/flutter#147858) 2024-05-06 [email protected] Roll Flutter Engine from e2b828f368f6 to f2bfea5fdecd (1 revision) (flutter/flutter#147854) 2024-05-06 [email protected] Roll Flutter Engine from c73fd390d10e to e2b828f368f6 (1 revision) (flutter/flutter#147853) 2024-05-06 [email protected] Roll Flutter Engine from 624dcb987f39 to c73fd390d10e (1 revision) (flutter/flutter#147852) 2024-05-05 [email protected] Roll Flutter Engine from 900322f23375 to 624dcb987f39 (1 revision) (flutter/flutter#147845) 2024-05-05 [email protected] Roll Flutter Engine from 9080957cd6a0 to 900322f23375 (1 revision) (flutter/flutter#147842) 2024-05-05 [email protected] Roll Flutter Engine from 66d08d55d788 to 9080957cd6a0 (1 revision) (flutter/flutter#147841) 2024-05-05 [email protected] Fix test. (flutter/flutter#147813) 2024-05-05 [email protected] Fix memory leaks in `CupertinoSwitch` (flutter/flutter#147821) 2024-05-05 [email protected] Reland fix memory leaks for tab selector (flutter/flutter#147689) 2024-05-05 [email protected] Fix memory leak in ExpansionTile. (flutter/flutter#147596) 2024-05-04 [email protected] Roll Flutter Engine from 135acd5a689a to 66d08d55d788 (2 revisions) (flutter/flutter#147834) 2024-05-04 [email protected] Roll Flutter Engine from c937a02c6eb0 to 135acd5a689a (2 revisions) (flutter/flutter#147818) 2024-05-04 [email protected] Roll Flutter Engine from 1d484e57ce2c to c937a02c6eb0 (2 revisions) (flutter/flutter#147812) 2024-05-03 [email protected] Roll Flutter Engine from 2561636602ed to 1d484e57ce2c (1 revision) (flutter/flutter#147808) 2024-05-03 [email protected] Roll Flutter Engine from 484574426120 to 2561636602ed (1 revision) (flutter/flutter#147805) 2024-05-03 [email protected] Roll Flutter Engine from d701f407c8ea to 484574426120 (1 revision) (flutter/flutter#147802) 2024-05-03 [email protected] Roll Flutter Engine from 250536888a91 to d701f407c8ea (2 revisions) (flutter/flutter#147800) 2024-05-03 [email protected] Roll Flutter Engine from 3eadfd5284c0 to 250536888a91 (1 revision) (flutter/flutter#147796) 2024-05-03 [email protected] Roll Flutter Engine from 837914f3788b to 3eadfd5284c0 (1 revision) (flutter/flutter#147791) 2024-05-03 [email protected] fixes `SearchAnchor` leak (flutter/flutter#147652) 2024-05-03 [email protected] Roll Flutter Engine from 8cce00433073 to 837914f3788b (1 revision) (flutter/flutter#147780) 2024-05-03 [email protected] Roll Packages from aea93d2 to f4719ca (5 revisions) (flutter/flutter#147782) 2024-05-03 [email protected] Always relies on floatingLabelStyle when FloatingLabelBehavior.always (flutter/flutter#147374) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/flutter@f1037a0...04424e1 2024-05-06 [email protected] Roll Flutter Engine from f2bfea5fdecd to a30ae7729c95 (1 revision) (flutter/flutter#147865) 2024-05-06 [email protected] Fix Tooltip.decoration comment (flutter/flutter#147858) 2024-05-06 [email protected] Roll Flutter Engine from e2b828f368f6 to f2bfea5fdecd (1 revision) (flutter/flutter#147854) 2024-05-06 [email protected] Roll Flutter Engine from c73fd390d10e to e2b828f368f6 (1 revision) (flutter/flutter#147853) 2024-05-06 [email protected] Roll Flutter Engine from 624dcb987f39 to c73fd390d10e (1 revision) (flutter/flutter#147852) 2024-05-05 [email protected] Roll Flutter Engine from 900322f23375 to 624dcb987f39 (1 revision) (flutter/flutter#147845) 2024-05-05 [email protected] Roll Flutter Engine from 9080957cd6a0 to 900322f23375 (1 revision) (flutter/flutter#147842) 2024-05-05 [email protected] Roll Flutter Engine from 66d08d55d788 to 9080957cd6a0 (1 revision) (flutter/flutter#147841) 2024-05-05 [email protected] Fix test. (flutter/flutter#147813) 2024-05-05 [email protected] Fix memory leaks in `CupertinoSwitch` (flutter/flutter#147821) 2024-05-05 [email protected] Reland fix memory leaks for tab selector (flutter/flutter#147689) 2024-05-05 [email protected] Fix memory leak in ExpansionTile. (flutter/flutter#147596) 2024-05-04 [email protected] Roll Flutter Engine from 135acd5a689a to 66d08d55d788 (2 revisions) (flutter/flutter#147834) 2024-05-04 [email protected] Roll Flutter Engine from c937a02c6eb0 to 135acd5a689a (2 revisions) (flutter/flutter#147818) 2024-05-04 [email protected] Roll Flutter Engine from 1d484e57ce2c to c937a02c6eb0 (2 revisions) (flutter/flutter#147812) 2024-05-03 [email protected] Roll Flutter Engine from 2561636602ed to 1d484e57ce2c (1 revision) (flutter/flutter#147808) 2024-05-03 [email protected] Roll Flutter Engine from 484574426120 to 2561636602ed (1 revision) (flutter/flutter#147805) 2024-05-03 [email protected] Roll Flutter Engine from d701f407c8ea to 484574426120 (1 revision) (flutter/flutter#147802) 2024-05-03 [email protected] Roll Flutter Engine from 250536888a91 to d701f407c8ea (2 revisions) (flutter/flutter#147800) 2024-05-03 [email protected] Roll Flutter Engine from 3eadfd5284c0 to 250536888a91 (1 revision) (flutter/flutter#147796) 2024-05-03 [email protected] Roll Flutter Engine from 837914f3788b to 3eadfd5284c0 (1 revision) (flutter/flutter#147791) 2024-05-03 [email protected] fixes `SearchAnchor` leak (flutter/flutter#147652) 2024-05-03 [email protected] Roll Flutter Engine from 8cce00433073 to 837914f3788b (1 revision) (flutter/flutter#147780) 2024-05-03 [email protected] Roll Packages from aea93d2 to f4719ca (5 revisions) (flutter/flutter#147782) 2024-05-03 [email protected] Always relies on floatingLabelStyle when FloatingLabelBehavior.always (flutter/flutter#147374) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Part of #141198
Relands #147403
We need to make sure the bot 'Google testing' passes.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.