Skip to content

Ensure to close connection to VM after collecting coverage#50943

Merged
jmagman merged 3 commits intoflutter:masterfrom
mkustermann:close-coverage-connection
Feb 18, 2020
Merged

Ensure to close connection to VM after collecting coverage#50943
jmagman merged 3 commits intoflutter:masterfrom
mkustermann:close-coverage-connection

Conversation

@mkustermann
Copy link
Copy Markdown
Member

This avoids having many unused conections open. Each connection can hang
on to a significant amount of memory, not closing them is effectively a
big memory leak.

This should reduce the memory consumption of tool/tool_coverage.dart

Issue dart-lang/sdk#40627

This avoids having many unused conections open. Each connection can hang
on to a significant amount of memory, not closing them is effectively a
big memory leak.

This should reduce the memory consumption of `tool/tool_coverage.dart`

Issue dart-lang/sdk#40627
@fluttergithubbot
Copy link
Copy Markdown
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label Feb 17, 2020
Copy link
Copy Markdown
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@aam aam left a comment

Choose a reason for hiding this comment

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

Wow, nice!

@jmagman jmagman merged commit d294757 into flutter:master Feb 18, 2020
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants