From 473d2836a27f0c055ffb15937bb2426ed6430fb2 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 20 Oct 2006 12:20:29 +0000 Subject: [PATCH] Rollback changes for PAL12755 (no need to release global thread state - othersize application crashes) --- src/SALOME_PY/SalomePy.cxx | 6 ------ 1 file changed, 6 deletions(-) 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; } -- 2.39.2