jscode
This commit is contained in:
@@ -2102,6 +2102,7 @@ void JS_FreeContext (JSContext *ctx) {
|
||||
JSRuntime *rt = ctx->rt;
|
||||
int i;
|
||||
|
||||
cell_rt_free_native_state(ctx);
|
||||
JS_DeleteGCRef(ctx, &ctx->suspended_frame_ref);
|
||||
|
||||
for (i = 0; i < ctx->class_count; i++) {
|
||||
@@ -5332,7 +5333,7 @@ JSValue js_regexp_toString (JSContext *ctx, JSValue this_val, int argc, JSValue
|
||||
|
||||
int lre_check_timeout (void *opaque) {
|
||||
JSContext *ctx = opaque;
|
||||
if (cell_rt_native_active ()) {
|
||||
if (cell_rt_native_active (ctx)) {
|
||||
atomic_store_explicit (&ctx->pause_flag, 0, memory_order_relaxed);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user