domaframework / doma

DAO oriented database mapping framework for Java
https://doma.readthedocs.io/
Apache License 2.0
438 stars 69 forks source link

Fix a potential memory leak in the suspend method of LocalTransaction #1122

Closed nakamura-to closed 2 months ago

nakamura-to commented 2 months ago

We use ThreadLocal.remove() instead of ThreadLocal.set(null) to prevent memory leaks. This PR is related to #1120