From 2c631c748cc95b19acbce0559576bb5884d29bc7 Mon Sep 17 00:00:00 2001 From: sln Date: Tue, 23 Nov 2010 11:44:30 +0000 Subject: [PATCH] 0000109: crash on exit from application. myDesktop->deleteLater(); in SUIT_Application::setDesktop() instead of delete myDesktop; to avoid meny destruction till the finish its processing --- src/SUIT/SUIT_Application.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SUIT/SUIT_Application.cxx b/src/SUIT/SUIT_Application.cxx index ead59e4c4..50aee03ac 100755 --- a/src/SUIT/SUIT_Application.cxx +++ b/src/SUIT/SUIT_Application.cxx @@ -254,7 +254,8 @@ void SUIT_Application::setDesktop( SUIT_Desktop* desk ) if ( myDesktop == desk ) return; - delete myDesktop; + //delete myDesktop; + myDesktop->deleteLater(); myDesktop = desk; if ( myDesktop ) { connect( myDesktop, SIGNAL( activated() ), this, SLOT( onDesktopActivated() ) ); -- 2.39.2