-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: leak trackingIssues and PRs related to memory leaks detected by leak_trackerIssues and PRs related to memory leaks detected by leak_trackerc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capability
Description
Why?
Disposables in Dart cannot use MemoryAllocations in Flutter. So, to be leak trackable they need a dart-only class.
See detains in the document.
Why now?
- We want early adopters of leak tracker (for example, package owners) to use the class with the right name, so that they do not deal with renaming later.
- It will take time for the renaming to land to flutter stable.
Steps:
- Add FlutterMemoryAllocations and deprecate MemoryAllocations in Flutter
- Document breaking change in Flutter: Describe breaking change. website#10021
- Update leak tracker to use FlutterMemoryAllocations
- Roll leak tracker to G3
- Upgrade flutter to new leak tracker
- Remove MemoryAllocations from Flutter
Juliotati and vasconcelos-gabul-dev
Metadata
Metadata
Assignees
Labels
a: leak trackingIssues and PRs related to memory leaks detected by leak_trackerIssues and PRs related to memory leaks detected by leak_trackerc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capability