stop method
Asks the runner to finish its test, then ends the xcodebuild process glint started.
Implementation
Future<void> stop() async {
try {
await _http('POST', _uri('/shutdown'), const {}, const Duration(seconds: 2));
} on Object {
// already gone
}
final own = _process;
_process = null;
if (own != null) await ProcessRegistry.instance.stop(runnerPurpose, device: udid, only: own);
}