Commit 80d46a89 authored by Dan Rubel's avatar Dan Rubel Committed by GitHub

update flutter run --release to launch and exit (#5942)

parent 63828aab
......@@ -8,6 +8,7 @@ import 'dart:io';
import 'application_package.dart';
import 'base/logger.dart';
import 'base/utils.dart';
import 'build_info.dart';
import 'commands/build_apk.dart';
import 'commands/install.dart';
import 'commands/trace.dart';
......@@ -184,6 +185,8 @@ class RunAndStayResident extends ResidentRunner {
}
printStatus('Application running.');
if (debuggingOptions.buildMode == BuildMode.release)
return 0;
if (vmService != null) {
await vmService.vm.refreshViews();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment