Georg Baum wrote:
after quit, and qt4 segfaults after quit. Backtrace:

Does this patch solves the crash on exit?

Abdel.
Index: lyx_main.C
===================================================================
--- lyx_main.C  (revision 15322)
+++ lyx_main.C  (working copy)
@@ -264,7 +264,12 @@
                theApp = 0;
        }
 
-       return exec2(argc, argv);
+       int exit_status = exec2(argc, argv);
+
+       if (lyx::use_gui)
+               application_.reset();
+
+       return exit_status;
 }
 
 

Reply via email to