summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Communicator.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-06-08 11:45:13 +0200
committerBenoit Foucher <benoit@zeroc.com>2017-06-08 11:45:13 +0200
commit60effe77cfe0bfebc4cae2457ec1fe7463267b2c (patch)
treeafbef2b5bd3192a2f83e8f40bf98a56369da6e65 /python/modules/IcePy/Communicator.cpp
parentFixed Util.py to account for new android location (diff)
downloadice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.tar.bz2
ice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.tar.xz
ice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.zip
Fixed ICE-7974 - Python AMI batch oneway requests now return a completed future object
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);