Skip to content

Fix K/N leaks completely #167

@dokar3

Description

@dokar3

We sometimes get crashed tests due to the js object leaking:

com.dokar.quickjs.test.CloseWhileEvaluatingTest.closeWithMultipleEvaluations[macosArm64] FAILED
    Unknown

There were failing tests. See the report at: file:///Users/runner/work/quickjs-kt/quickjs-kt/quickjs/build/reports/tests/macosArm64Test/index.html
30 tests completed, 1 failed
Test running process exited unexpectedly.
Current test: closeWithMultipleEvaluations
Process output:
 Assertion failed: (list_empty(&rt->gc_obj_list)), function JS_FreeRuntime, file quickjs.c, line 2036.

We/AI Agents need to work harder on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions