From: jfa Date: Wed, 12 Jul 2006 14:34:12 +0000 (+0000) Subject: PAL12755: SALOME frozen with 'Load Script' and a python module. A fix by Christian... X-Git-Tag: T3_2_1_pre~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=912e56d747be0112d7b45fed416c1f9962d2e1a2;p=modules%2Fsmesh.git PAL12755: SALOME frozen with 'Load Script' and a python module. A fix by Christian CAREMOLI. --- diff --git a/src/SMESHGUI/SMESHGUI_Swig.i b/src/SMESHGUI/SMESHGUI_Swig.i index eadd476e4..fe3925989 100644 --- a/src/SMESHGUI/SMESHGUI_Swig.i +++ b/src/SMESHGUI/SMESHGUI_Swig.i @@ -30,6 +30,13 @@ #include "SMESHGUI_Swig.hxx" %} +/* Exception handler for all functions */ +%exception { + Py_BEGIN_ALLOW_THREADS + $action + Py_END_ALLOW_THREADS +} + %include "typemaps.i" class SMESH_Swig