dispose method
void
dispose()
Release the underlying WASM instance resources. Call when the bridge is no longer needed.
Implementation
void dispose() {
_instance?.dispose();
_instance = null;
_memory = null;
}
Release the underlying WASM instance resources. Call when the bridge is no longer needed.
void dispose() {
_instance?.dispose();
_instance = null;
_memory = null;
}