From: jfa Date: Wed, 12 Jul 2006 14:32:52 +0000 (+0000) Subject: PAL12755: SALOME frozen with 'Load Script' and a python module. A fix by Christian... X-Git-Tag: T3_2_1_pre~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aad0b52307afbeabd03f57567ea7972f24f6cd67;p=modules%2Fgui.git PAL12755: SALOME frozen with 'Load Script' and a python module. A fix by Christian CAREMOLI. --- diff --git a/src/SALOME_SWIG/SALOMEGUI_Swig.i b/src/SALOME_SWIG/SALOMEGUI_Swig.i index 8ad7a3ae0..e960e05bf 100644 --- a/src/SALOME_SWIG/SALOMEGUI_Swig.i +++ b/src/SALOME_SWIG/SALOMEGUI_Swig.i @@ -32,6 +32,13 @@ %include "pointer.i" +/* Exception handler for all functions */ +%exception { + Py_BEGIN_ALLOW_THREADS + $action + Py_END_ALLOW_THREADS +} + class SALOMEGUI_Swig { public: