3 FreeJs
The-Mighty-Cat edited this page 2025-02-12 23:14:21 +01:00
namespace Crafter::CppDOM {
    void FreeJs(void* ptr)
}

FreeJS is a special funcion that frees a javascript object returned by the binding functions.

You must always call this function to prevent memory leaks.