File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2480,15 +2480,15 @@ wasm_runtime_resume_wasm(WASMExecEnv *exec_env)
24802480 return false;
24812481 }
24822482
2483- if (!exec_env -> metering_suspended
2484- || !exec_env -> metering_suspend_function
2483+ if (!exec_env -> metering_suspended || !exec_env -> metering_suspend_function
24852484 || !exec_env -> metering_suspend_argv ) {
24862485 wasm_runtime_set_exception (exec_env -> module_inst ,
24872486 "no metering resume is pending" );
24882487 return false;
24892488 }
24902489
2491- function = (WASMFunctionInstanceCommon * )exec_env -> metering_suspend_function ;
2490+ function =
2491+ (WASMFunctionInstanceCommon * )exec_env -> metering_suspend_function ;
24922492 return wasm_runtime_call_wasm (exec_env , function ,
24932493 exec_env -> metering_suspend_argc ,
24942494 exec_env -> metering_suspend_argv );
You can’t perform that action at this time.
0 commit comments