You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (JS_HasProperty(ctx, ctx->global_obj, JS_ATOM_BigInt)) return 0; before the JS_NewCConstructor call in JS_AddIntrinsicBigInt makes the problem go away.
It suggests JS_NewCConstructor leaks something when the property already exists, although it's not immediately obvious what.
Activity
Fix object leak in JS_NewCConstructor
Fix object leak in JS_NewCConstructor (#1670)