]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
PAL12755: SALOME frozen with 'Load Script' and a python module. A fix by Christian...
authorjfa <jfa@opencascade.com>
Wed, 12 Jul 2006 14:32:52 +0000 (14:32 +0000)
committerjfa <jfa@opencascade.com>
Wed, 12 Jul 2006 14:32:52 +0000 (14:32 +0000)
src/SALOME_SWIG/SALOMEGUI_Swig.i

index 8ad7a3ae05ad1ffc62c41d5f3dafc0dfc105a0c4..e960e05bfdae046f4b38f56c49513b18e5c3ef1c 100644 (file)
 
 %include "pointer.i"
 
+/* Exception handler for all functions */
+%exception {
+   Py_BEGIN_ALLOW_THREADS
+   $action
+   Py_END_ALLOW_THREADS
+}
+
 class SALOMEGUI_Swig
 {
  public: