Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release delegate ref in Releasables#releaseOnce
Like elastic#92452 and elastic#92507 but for `Releasables#releaseOnce`: there's no need to keep hold of the wrapped releasable after closing it, and in some cases this might hold on to excessive heap. With this commit we drop the reference to the delegate when it's complete.
- Loading branch information