On Thu, 28 Jul 2022 at 22:11, Holo The Sage Wolf <holo3...@gmail.com> wrote:
> I have a question about the proposal, why not allow try-with-resources > with this API? > Hi, For Loom related questions, loom-...@openjdk.org is probably a better fit. The main problem with TWR is that it cannot guard against non-nested use. Because there are no way to force the user to call close(). See more here [1] /Kasper [1] https://mail.openjdk.org/pipermail/loom-dev/2021-June/002558.html