From 45dcefb90cdc4d7d4c74e4c9d8b01deba028a596 Mon Sep 17 00:00:00 2001 From: kalil Date: Wed, 26 Apr 2023 10:29:22 +0200 Subject: [PATCH] fix(firepilot): down machine instance --- riklet/src/runtime/function_runtime.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/riklet/src/runtime/function_runtime.rs b/riklet/src/runtime/function_runtime.rs index 6ea0d05..f646989 100644 --- a/riklet/src/runtime/function_runtime.rs +++ b/riklet/src/runtime/function_runtime.rs @@ -145,16 +145,11 @@ impl Runtime for FunctionRuntime { } }?; - machine - .stop() - .await - .map_err(RuntimeError::FirecrackerError)?; - debug!("microVM properly stopped"); - machine .kill() .await .map_err(RuntimeError::FirecrackerError)?; + debug!("microVM properly stopped"); debug!("Destroying function runtime network"); self.network