Log when closing sql connections.
This commit is contained in:
parent
7657ab79f1
commit
628f18e0db
1 changed files with 2 additions and 0 deletions
|
@ -249,9 +249,11 @@ class Database(metaclass=abc.ABCMeta):
|
|||
if self._worms_transaction_owner:
|
||||
self.rollback()
|
||||
|
||||
log.loud('Closing sql_read.')
|
||||
self.sql_read.close()
|
||||
del self.sql_read
|
||||
|
||||
log.loud('Closing sql_write.')
|
||||
self.sql_write.close()
|
||||
del self.sql_write
|
||||
|
||||
|
|
Loading…
Reference in a new issue