Abdelrazak Younes wrote:
Georg Baum wrote:
after quit, and qt4 segfaults after quit. Backtrace:
Does this patch solves the crash on exit?
This one might help also.
Abdel.
Index: GuiApplication.C
===================================================================
--- GuiApplication.C (revision 15322)
+++ GuiApplication.C (working copy)
@@ -81,6 +81,13 @@
namespace frontend {
+
+GuiApplication::~GuiApplication()
+{
+ socket_callbacks_.clear();
+}
+
+
GuiApplication::GuiApplication(int & argc, char ** argv)
: QApplication(argc, argv), Application(argc, argv)
{
Index: GuiApplication.h
===================================================================
--- GuiApplication.h (revision 15322)
+++ GuiApplication.h (working copy)
@@ -52,7 +52,7 @@
public:
GuiApplication(int & argc, char ** argv);
///
- virtual ~GuiApplication() {}
+ virtual ~GuiApplication();
/// Method inherited from \c Application class
//@{