Interface ResourceRegistry.ResourceLifecycleObserver<R>

    • Method Detail

      • onRelease

        void onRelease​(R resource)
        Called by a ResourceRegistry when a resource is being released. Resources are released when a ResourceRegistry is disposed.
        Parameters:
        resource - the resource being released