]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update python diff
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 23 Dec 2013 18:26:34 +0000 (23:26 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 23 Dec 2013 18:26:34 +0000 (23:26 +0500)
src/mod/languages/mod_python/mod_python_wrap.cpp

index 979621bafe6f8dbceac1d2aafab9e2426813d145..8db6cc0c8fa3ff679ecc0df5eb57c577f8ba41af 100644 (file)
@@ -5596,7 +5596,9 @@ SWIGINTERN PyObject *_wrap_EventConsumer_pop(PyObject *SWIGUNUSEDPARM(self), PyO
     } 
     arg3 = static_cast< int >(val3);
   }
+  Py_BEGIN_ALLOW_THREADS;
   result = (Event *)(arg1)->pop(arg2,arg3);
+  Py_END_ALLOW_THREADS;
   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Event, SWIG_POINTER_OWN |  0 );
   return resultobj;
 fail: