From 9c5a319502cfc582d8120da37caa44bac6178593 Mon Sep 17 00:00:00 2001 From: gluax <16431709+gluax@users.noreply.github.com> Date: Sun, 24 Nov 2024 10:28:30 -0800 Subject: [PATCH] fix: cpu inc bug --- runtime/core/src/runtime.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/core/src/runtime.rs b/runtime/core/src/runtime.rs index 91567e3..5bd7393 100644 --- a/runtime/core/src/runtime.rs +++ b/runtime/core/src/runtime.rs @@ -75,6 +75,7 @@ fn internal_run_vm( wasi_env.on_exit(&mut context.wasm_store, None); drop(_guard); + drop(runtime); let mut exit_code: i32 = 0;