finalize property

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

(JSObjectFinalizeCallback) 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

external Pointer<NativeFunction<JSObjectFinalizeCallback>> finalize;