Interface ReferenceManager<T>

    • Method Detail

      • release

        void release​(T reference)
        Releases the given reference.

        This method should be called with a ReferenceCounted object that contains no additional references. This allows, for instance, pools to recycle dereferenced objects.

        Parameters:
        reference - The reference to release.