toPointer method
Similar to pointer.
Detaches the finalizer so the underlying pointer will not be deleted.
Implementation
JObjectPtr toPointer() {
_setAsReleased();
return _finalizable.pointer;
}
Similar to pointer.
Detaches the finalizer so the underlying pointer will not be deleted.
JObjectPtr toPointer() {
_setAsReleased();
return _finalizable.pointer;
}