]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Internal 20213 - application hangs up during python script execution
authorasl <asl@opencascade.com>
Fri, 14 Nov 2008 05:43:04 +0000 (05:43 +0000)
committerasl <asl@opencascade.com>
Fri, 14 Nov 2008 05:43:04 +0000 (05:43 +0000)
src/PyInterp/PyInterp_Dispatcher.cxx

index 2fbda19ee6213c484595aaebfd640ce08a2cc008..0c836b3091c509328613d1f7cb6756b0478551f6 100755 (executable)
@@ -62,7 +62,8 @@ void PyInterp_Request::process()
 
 void PyInterp_Request::safeExecute()
 {
-  ProcessVoidEvent( new PyInterp_ExecuteEvent( this ) );
+  //ProcessVoidEvent( new PyInterp_ExecuteEvent( this ) );
+  execute();
 }
 
 void PyInterp_Request::Destroy( PyInterp_Request* request )
@@ -107,7 +108,8 @@ void PyInterp_LockRequest::safeExecute()
 {
   if ( getInterp() ){
     PyLockWrapper aLock = getInterp()->GetLockWrapper();
-    ProcessVoidEvent( new PyInterp_ExecuteEvent( this ) );
+    //ProcessVoidEvent( new PyInterp_ExecuteEvent( this ) );
+    execute();
   }
 }