Package io.opentimeline
Class OTIOFinalizer
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.PhantomReference<OTIONative>
io.opentimeline.OTIOFinalizer
public class OTIOFinalizer extends java.lang.ref.PhantomReference<OTIONative>
A finalizer class for internal use of the library.
It extends PhantomReference<> and stores
the class name and native handle of the object whose reference it holds.
The OTIOFactory will call the cleanUp() method of this class to free native memory allocated after the Java object is Garbage Collected.
-
Constructor Summary
Constructors Constructor Description OTIOFinalizer(OTIONative referent, java.lang.ref.ReferenceQueue<OTIONative> q)
-
Method Summary
Modifier and Type Method Description void
cleanUp()
-
Constructor Details
-
Method Details
-
cleanUp
public void cleanUp()
-