Anki/qt/aqt/browser
RumovZ 7741475ae0
Fix various leaks (#1672)
* Fix wrong hook being torn down

* Fix item models not being destroyed

* Add missing gc for FilteredDeckConfigDialog

* Add missing type annotation

* Pass calling widget as parent to QTimer

Implicitly passing `self.mw` as the parent means that the QTimer won't
get destroyed before quitting the app, which also thwarts garbage
collection of any data captured by a passed closure.

* Make `Editor._links` an instance variable

Browser is inserting a closure into this dict capturing itself. As a class
variable, it won't get destroyed, so neither will the browser.

* Make `Editor._links` funcs take instance again

* Deprecate calling progress.timer() without parent

* show caller location when printing deprecation warning (dae)
2022-02-18 19:00:12 +10:00
..
sidebar Fix various leaks (#1672) 2022-02-18 19:00:12 +10:00
table Fix various leaks (#1672) 2022-02-18 19:00:12 +10:00
__init__.py new change notetype implementation for the frontend 2021-06-10 22:19:24 +10:00
browser.py Fix various leaks (#1672) 2022-02-18 19:00:12 +10:00
card_info.py Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +10:00
find_and_replace.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
find_duplicates.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
previewer.py Fix various leaks (#1672) 2022-02-18 19:00:12 +10:00