mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
run deck closed hook in libanki
This commit is contained in:
parent
8dfeb01de6
commit
f87c02f7a4
1 changed files with 1 additions and 0 deletions
|
@ -1442,6 +1442,7 @@ Return new path, relative to media dir."""
|
||||||
self.s.clear()
|
self.s.clear()
|
||||||
self.s.close()
|
self.s.close()
|
||||||
self.engine.dispose()
|
self.engine.dispose()
|
||||||
|
runHook("deckClosed")
|
||||||
|
|
||||||
def rollback(self):
|
def rollback(self):
|
||||||
"Roll back the current transaction and reset session state."
|
"Roll back the current transaction and reset session state."
|
||||||
|
|
Loading…
Reference in a new issue