mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
make sure to close debug log when closing collection
This commit is contained in:
parent
1c35a590e3
commit
742a520954
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ crt=?, mod=?, scm=?, dty=?, usn=?, ls=?, conf=?""",
|
|||
self.db.close()
|
||||
self.db = None
|
||||
self.media.close()
|
||||
self._closeLog()
|
||||
|
||||
def reopen(self):
|
||||
"Reconnect to DB (after changing threads, etc)."
|
||||
|
|
Loading…
Reference in a new issue