stopVm function

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

Implementation

Future<void> stopVm(lume.LumeVM? vm) async {
  if (vm == null) return;
  try {
    await lume.stop(name: vm.name, showLogs: false);
  } catch (_) {}
}