dropNativeRunner method

void dropNativeRunner()

Back to the bridge's reader, for a runner switched off after an earlier attach.

Implementation

void dropNativeRunner() {
  nativeRunnerNote = null;
  final dev = device;
  if (nativeRunner == null || dev is! IosSimulator || dev.runner != null) return;
  nativeRunner = null;
  nativeSurfaceName = null;
  nativeReader = deviceMode ? null : NativeSceneReader(udid: dev.udid, bridgePath: dev.bridgePath);
  _wireCoveredBySystem();
}