mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix qtwebengineprocess leak in stats screen
https://anki.tenderapp.com/discussions/ankidesktop/35941-closing-stats-window-doesnt-end-its-extra-qt-process
This commit is contained in:
parent
d4aa146b4c
commit
5c4ff83b72
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ class DeckStats(QDialog):
|
|||
self.activateWindow()
|
||||
|
||||
def reject(self):
|
||||
self.form.web = None
|
||||
saveGeom(self, self.name)
|
||||
aqt.dialogs.markClosed("DeckStats")
|
||||
QDialog.reject(self)
|
||||
|
|
Loading…
Reference in a new issue