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=7d6a233bf1a92dc88586de99fefe2309d4bf6db9;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();