From: ana Date: Thu, 12 Nov 2015 11:50:29 +0000 (+0300) Subject: Windows: destroy the active Trace before calling Py_Finalize() X-Git-Tag: V7_7_0_WIN X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Ffix_for_770;p=modules%2Fgui.git Windows: destroy the active Trace before calling Py_Finalize() --- diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index 47b3a0459..3ec5a29d6 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -111,7 +111,7 @@ void STD_Application::closeApplication() beforeCloseDoc( study ); study->closeDocument(); - + emit appClosed(); setActiveStudy( 0 ); delete study; diff --git a/src/STD/STD_Application.h b/src/STD/STD_Application.h index 2b1f4653c..426e5f811 100755 --- a/src/STD/STD_Application.h +++ b/src/STD/STD_Application.h @@ -111,6 +111,7 @@ signals: void viewManagerRemoved( SUIT_ViewManager* ); /*!emit that view manager activated*/ void viewManagerActivated( SUIT_ViewManager* ); + void appClosed(); public slots: virtual void onNewDoc();