finalize property

Pointer<NativeFunction<JSObjectFinalizeCallback>>? finalize
getter/setter pair

The callback invoked when an object is finalized (prepared for garbage collection). Use this callback to release resources allocated for the object, and perform other cleanup.

Implementation

Pointer<NativeFunction<JSObjectRef.JSObjectFinalizeCallback>>? finalize;