anki/qt/aqt/browser/table
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
..
__init__.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
model.py Fix various leaks (#1672) 2022-02-18 19:00:12 +10:00
state.py fix sort order toggling 2021-10-30 09:14:43 +10:00
table.py Fix various leaks (#1672) 2022-02-18 19:00:12 +10:00