From: vsr Date: Fri, 20 Oct 2006 12:20:29 +0000 (+0000) Subject: Rollback changes for PAL12755 (no need to release global thread state - othersize... X-Git-Tag: V3_2_3pre1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=473d2836a27f0c055ffb15937bb2426ed6430fb2;p=modules%2Fgui.git Rollback changes for PAL12755 (no need to release global thread state - othersize application crashes) --- diff --git a/src/SALOME_PY/SalomePy.cxx b/src/SALOME_PY/SalomePy.cxx index fb5337839..4603f0dbe 100755 --- a/src/SALOME_PY/SalomePy.cxx +++ b/src/SALOME_PY/SalomePy.cxx @@ -118,9 +118,7 @@ extern "C" PyObject *libSalomePy_getRenderer(PyObject *self, PyObject *args) { //return ProcessEvent( new TGetRendererEvent() ); PyObject * aResult; - Py_BEGIN_ALLOW_THREADS // PAL12755 aResult = ProcessEvent( new TGetRendererEvent() ); - Py_END_ALLOW_THREADS // PAL12755 return aResult; } @@ -144,9 +142,7 @@ extern "C" PyObject *libSalomePy_getRenderWindow(PyObject *self, PyObject *args) { //return ProcessEvent( new TGetRenderWindowEvent() ); PyObject * aResult; - Py_BEGIN_ALLOW_THREADS // PAL12755 aResult = ProcessEvent( new TGetRenderWindowEvent() ); - Py_END_ALLOW_THREADS // PAL12755 return aResult; } @@ -170,9 +166,7 @@ extern "C" PyObject *libSalomePy_getRenderWindowInteractor(PyObject *self, PyObj { //return ProcessEvent( new TGetRenderWindowInteractorEvent() ); PyObject * aResult; - Py_BEGIN_ALLOW_THREADS // PAL12755 aResult = ProcessEvent( new TGetRenderWindowInteractorEvent() ); - Py_END_ALLOW_THREADS // PAL12755 return aResult; }