This might be relevant: https://www.riverbankcomputing.com/static/Docs/PyQt5/gotchas.html#crashes-on-exit
This might be relevant: https:/ /www.riverbankc omputing. com/static/ Docs/PyQt5/ gotchas. html#crashes- on-exit