Salome HOME
Merge remote-tracking branch 'origin/vsr/fix_single_study_pb' into pre/fix_single_study
[modules/gui.git] / src / PyConsole / PyConsole_Editor.cxx
index 851da035c26e57d83a1c8bedf1024c9158b194ba..adb5a6d7ae9b72da5b2098272464734ee04d20ed 100644 (file)
@@ -190,6 +190,9 @@ PyConsole_Editor::PyConsole_Editor( PyConsole_Interp* theInterp,
 */
 PyConsole_Editor::~PyConsole_Editor()
 {
+  myInterp->destroy();
+  delete myInterp;
+  myInterp = 0;
 }
 
 /*!