Switch drive_service from using deprecated version of --record-memory-profile flag. (#86122)

This commit is contained in:
Jacob Richman
2021-07-08 14:29:41 -07:00
committed by GitHub
parent 0dbb74eb42
commit 1a0d873e2e

View File

@@ -261,7 +261,7 @@ class FlutterDriverService extends DriverService {
if (profileMemory != null) {
unawaited(_devtoolsLauncher.launch(
Uri.parse(_vmServiceUri),
additionalArguments: <String>['--profile-memory=$profileMemory'],
additionalArguments: <String>['--record-memory-profile=$profileMemory'],
));
// When profiling memory the original launch future will never complete.
await _devtoolsLauncher.processStart;