PodFinalizerWrapper<T extends Object> constructor
PodFinalizerWrapper<T extends Object> (
- PodNotifier<
T> pod
Implementation
PodFinalizerWrapper(PodNotifier<T> pod) : pod = WeakReference(pod) {
// `detach: this` lets [detach] cancel the registration cleanly.
_finalizer.attach(this, pod, detach: this);
}