anchor.diff:        printStatus('For a more detailed help message, press "h" or F1. To quit, press "q", F10, or Ctrl-C.');
       }
     }
  +
  +  @override
  +  Future<Null> preStop() async {
  +    // If we're running in release mode, stop the app using the device logic.
  +    if (vmService == null)
  +      await device.stopApp(_package);
  +  }
   }
   
   void writeRunBenchmarkFile(Stopwatch startTime, [Stopwatch restartTime]) {
  
positive.code: 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';
  import 'device.dart';
  import 'globals.dart';
  import 'vmservice.dart';
  import 'resident_runner.dart';
  
  class RunAndStayResident extends ResidentRunner {
    RunAndStayResident(
  
negative.code:     }
  
      printTrace('Application running.');
  
      if (vmService != null) {
        await vmService.vm.refreshViews();
  