hfour / h4bff

H4's backend & frontend framework :cupid::wrench: https://hfour.github.io/h4bff/
MIT License
7 stars 2 forks source link

Do not automatically revive transaction after disposal #37

Closed spion closed 5 years ago

spion commented 5 years ago

Once onDispose runs, the transaction should not automatically recreate the next time its requested. If this happens, any problematic code that continues after the request context ends will create a new transaction that will never get disposed (i.e. leak a connection)