Skip to content

Commit

Permalink
fix(firepilot): down machine instance
Browse files Browse the repository at this point in the history
  • Loading branch information
kalil-pelissier committed Apr 26, 2023
1 parent 1f211c0 commit 45dcefb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions riklet/src/runtime/function_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45dcefb

Please sign in to comment.