From 407a668610b744ce951a6bf3cd40a030959f973e Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 14 Nov 2008 05:43:04 +0000 Subject: [PATCH] Internal 20213 - application hangs up during python script execution --- src/PyInterp/PyInterp_Dispatcher.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); } } -- 2.39.2