Open IDA and run the following code:
output_widget = ida_kernwin.find_widget("Output");
ida_kernwin.display_widget(output_widget, ida_kernwin.WOPN_CLOSED_BY_ESC)
Close IDA by clicking the X on the window. IDA Crash (no crash dump)
If I run ida_pro.qexit(0) then I get no crash. Very similar to the
crash I get when using IPyIDA: "A known critical bug in PySide6 6.8.0 will cause your application to crash"
I suspect both crashes are related to number of references to open widgets and not checking them before trying to close them.