stopVm function

Future<void> stopVm(
  1. VirtualMachine? vm
)

Implementation

Future<void> stopVm(VirtualMachine? vm) async {
  if (vm == null) return;
  try {
    await vm.stop();
  } catch (_) {}
}