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
Assertion failed: (list_empty(&rt->gc_obj_list)), function JS_FreeRuntime
If I use 'DUMP_LEAKS', I get:
Object leaks:
ADDRESS REFS SHRF PROTO CLASS PROPS
0x1071d4bc0 1 0* 0x1071c5510 Function { length: 0, name: 14'', prototype: [autoinit 0x1071c4e80 0 0x0] }
This issue seems similar, but I don't know if it's the same. It's of course possible this is user error and I'm misusing the API somehow.
My development environment is macOS 11.3, Xcode 12.5. I get the same results whether I use the makefile and the resulting static library or include the relevant QuickJS source files directly in an Xcode project. Also, interestingly I don't get the leak if I use qjsc to generate bytecode and then load the bytecode - it only happens if I load the source code directly.
The text was updated successfully, but these errors were encountered:
The following self-contained test code:
Produces the following error for me:
Assertion failed: (list_empty(&rt->gc_obj_list)), function JS_FreeRuntime
If I use 'DUMP_LEAKS', I get:
This issue seems similar, but I don't know if it's the same. It's of course possible this is user error and I'm misusing the API somehow.
My development environment is macOS 11.3, Xcode 12.5. I get the same results whether I use the makefile and the resulting static library or include the relevant QuickJS source files directly in an Xcode project. Also, interestingly I don't get the leak if I use qjsc to generate bytecode and then load the bytecode - it only happens if I load the source code directly.
The text was updated successfully, but these errors were encountered: