Starting anki from terminal gives these outputs upon closing anki.
When it fails to close anki properly -
Window should have been closed: <aqt.progress.ProgressDialog object at 0x7f02eeb43dc0>
2024-04-08 09:15:21,151:WARNING:waitress: unhandled close event
Error in sys.excepthook:
TypeError: 'NoneType' object is not callable
Original exception was:
Traceback (most recent call last):
File "aqt.taskman", line 142, in _on_closures_pending
File "aqt.taskman", line 86, in <lambda>
File "aqt.progress", line 239, in do_window_cleanup
RuntimeError: wrapped C/C++ object of type QTimer has been deleted
When it succeeds in closing anki properly -
2024-04-08 09:16:46,310:WARNING:waitress: unhandled close event