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
The @rive-app/webgl2-advanced@2.20.0 renderer (and other webgl renderers) exposes a cleanup function in .d.ts but errors when called: 'rive.cleanup' is not a function. See Repro section for an example usage.
It appears as though the wasm/js/*renderer.js files do not set a Module["cleanup"] function. console.log(Object.keys(rive)) does not contain any reference of cleanup.
This inability to cleanup the wasm allocations leads to memory leaks.
Description
The
@rive-app/webgl2-advanced@2.20.0
renderer (and other webgl renderers) exposes acleanup
function in.d.ts
but errors when called:'rive.cleanup' is not a function
. See Repro section for an example usage.It appears as though the
wasm/js/*renderer.js
files do not set aModule["cleanup"]
function.console.log(Object.keys(rive))
does not contain any reference ofcleanup
.This inability to cleanup the wasm allocations leads to memory leaks.
Provide a Repro
The text was updated successfully, but these errors were encountered: