Manifold WASM Developer Guide
    Preparing search index...

    Module lib/garbage-collector

    Objects created by the manifold WASM module will not be garbage collected by the JavaScript runtime. This module tracks those objects for later cleanup.

    Functions

    cleanup

    Delete any objects tagged for garbage collection.

    garbageCollectFunction

    Intercept function calls for garbage collection.

    garbageCollectManifold

    Set up garbage collection for a white listed set of methods belonging to the Manifold WASM module.