[flutter_tools] io cleanups to simplify null safety migration (#77955)

This commit is contained in:
Jonah Williams
2021-03-12 16:21:14 -08:00
committed by GitHub
parent 85b22ff594
commit 9f420ffb3e
13 changed files with 54 additions and 39 deletions

View File

@@ -209,7 +209,7 @@ class CommandResultEvent extends UsageEvent {
// so that we can get the command result even if trying to grab maxRss
// throws an exception.
try {
final int maxRss = processInfo.maxRss;
final int maxRss = globals.processInfo.maxRss;
flutterUsage.sendEvent(
'tool-command-max-rss',
category,