X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPyConsole%2FPyConsole_Editor.cxx;h=adb5a6d7ae9b72da5b2098272464734ee04d20ed;hb=02904c3728214667f919cfe06072a91e1687b12f;hp=851da035c26e57d83a1c8bedf1024c9158b194ba;hpb=627194285d9b5354291d3a442b68b8740f114eda;p=modules%2Fgui.git diff --git a/src/PyConsole/PyConsole_Editor.cxx b/src/PyConsole/PyConsole_Editor.cxx index 851da035c..adb5a6d7a 100644 --- a/src/PyConsole/PyConsole_Editor.cxx +++ b/src/PyConsole/PyConsole_Editor.cxx @@ -190,6 +190,9 @@ PyConsole_Editor::PyConsole_Editor( PyConsole_Interp* theInterp, */ PyConsole_Editor::~PyConsole_Editor() { + myInterp->destroy(); + delete myInterp; + myInterp = 0; } /*!