close
Skip to content

Fix memory management issue with the table widget#8901

Merged
kenzieschmoll merged 4 commits intoflutter:masterfrom
kenzieschmoll:mem-references
Feb 18, 2025
Merged

Fix memory management issue with the table widget#8901
kenzieschmoll merged 4 commits intoflutter:masterfrom
kenzieschmoll:mem-references

Conversation

@kenzieschmoll
Copy link
Copy Markdown
Member

Part of a series of memory management work for DevTools.

@kenzieschmoll kenzieschmoll requested a review from a team as a code owner February 15, 2025 00:26
@kenzieschmoll kenzieschmoll requested review from bkonyi and removed request for a team February 15, 2025 00:26
void dispose() {
verticalScrollController?.dispose();
verticalScrollController = null;
_tableData.dispose();
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all notifiers should be disposed.


@override
void dispose() {
_tableController?.dispose();
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

objects should be disposed by their creator.

@kenzieschmoll kenzieschmoll merged commit f0becc2 into flutter:master Feb 18, 2025
@kenzieschmoll kenzieschmoll deleted the mem-references branch February 18, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants