This commit is contained in:
@@ -187,8 +187,7 @@ static JSValue _tf_api_core_unregister(JSContext* context, JSValueConst this_val
|
||||
if (int_index != -1)
|
||||
{
|
||||
JSValue splice = JS_GetPropertyStr(context, array, "splice");
|
||||
JSValue splice_args[] =
|
||||
{
|
||||
JSValue splice_args[] = {
|
||||
index,
|
||||
JS_NewInt32(context, 1),
|
||||
};
|
||||
|
Reference in New Issue
Block a user