From: asl Date: Fri, 14 Nov 2008 05:43:04 +0000 (+0000) Subject: Internal 20213 - application hangs up during python script execution X-Git-Tag: PARAVIS_TEST~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=407a668610b744ce951a6bf3cd40a030959f973e;p=modules%2Fgui.git Internal 20213 - application hangs up during python script execution --- diff --git a/src/PyInterp/PyInterp_Dispatcher.cxx b/src/PyInterp/PyInterp_Dispatcher.cxx index 2fbda19ee..0c836b309 100755 --- a/src/PyInterp/PyInterp_Dispatcher.cxx +++ b/src/PyInterp/PyInterp_Dispatcher.cxx @@ -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(); } }