detach method

void detach()

Detaches the object from the Finalizer.

Call this method only if you want to manually manage the lifetime of the object.

Implementation

void detach() => _finalizer.detach(this);