summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Communicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'python/modules/IcePy/Communicator.cpp')
-rw-r--r--python/modules/IcePy/Communicator.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/modules/IcePy/Communicator.cpp b/python/modules/IcePy/Communicator.cpp
index 89cb5f8030d..17f1ca92ab9 100644
--- a/python/modules/IcePy/Communicator.cpp
+++ b/python/modules/IcePy/Communicator.cpp
@@ -840,8 +840,6 @@ communicatorFlushBatchRequestsAsync(CommunicatorObject* self, PyObject* args, Py
try
{
- AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations.
-
result = (*self->communicator)->begin_flushBatchRequests(cb, callback);
}
catch(const Ice::Exception& ex)
@@ -924,8 +922,6 @@ communicatorBeginFlushBatchRequests(CommunicatorObject* self, PyObject* args, Py
Ice::AsyncResultPtr result;
try
{
- AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations.
-
if(callback)
{
result = (*self->communicator)->begin_flushBatchRequests(cb, callback);