Skip to content

Commit

Permalink
clean mivroVM shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
srieger1 committed Oct 23, 2023
1 parent bc31cfc commit 2b1be51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/providers/FirecrackerProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ export default class FirecrackerProvider implements InstanceProvider {
if (vmEndpoint !== undefined && fc !== undefined && fi !== undefined) {
// wait for stop tasks to end
await providerInstance.sleep(1000);
// https://github.com/firecracker-microvm/firecracker/blob/main/docs/api_requests/actions.md#send-ctrlaltdel
await fc.microVM

Check failure on line 664 in backend/src/providers/FirecrackerProvider.ts

View workflow job for this annotation

GitHub Actions / backend (16)

Replace `⏎········.invokeAction("SendCtrlAltDel")⏎········` with `.invokeAction("SendCtrlAltDel")`
.invokeAction("SendCtrlAltDel")
.then(async () => {
Expand Down

0 comments on commit 2b1be51

Please sign in to comment.