Skip to content

Commit

Permalink
Update database.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ormequ authored Dec 16, 2024
1 parent 5d39d19 commit f181753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def rollback(self):
if self.tx:
self.tx.rollback()
self.tx = None

if self.session:
self.session.close()
self.session = None
Expand Down

0 comments on commit f181753

Please sign in to comment.