Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pg: avoid hang on orphaned transcation panic (#1123)
When a test or an application panics due to an orphaned transaction when trying to close the DB. This change avoids the hang by automatically rolling back the orphaned transaction and closing the DB before the explicit panic.
- Loading branch information