Skip to content

Commit

Permalink
revert: roll back eval scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
andycall committed Jan 8, 2024
1 parent f04d7d3 commit 373e69b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bridge/core/executing_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ bool ExecutingContext::EvaluateJavaScript(const char* code,
*parsed_bytecodes = JS_WriteObject(script_state_.ctx(), &len, byte_object, JS_WRITE_OBJ_BYTECODE);
*bytecode_len = len;

JS_FreeValue(ctx(), byte_object);
result = JS_EvalFunction(script_state_.ctx(), byte_object);
}

Expand Down

0 comments on commit 373e69b

Please sign in to comment.