diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-08 11:45:13 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-08 11:45:13 +0200 |
commit | 60effe77cfe0bfebc4cae2457ec1fe7463267b2c (patch) | |
tree | afbef2b5bd3192a2f83e8f40bf98a56369da6e65 /python/modules/IcePy/Proxy.cpp | |
parent | Fixed Util.py to account for new android location (diff) | |
download | ice-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/Proxy.cpp')
-rw-r--r-- | python/modules/IcePy/Proxy.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/python/modules/IcePy/Proxy.cpp b/python/modules/IcePy/Proxy.cpp index be082198227..86a4a828eb1 100644 --- a/python/modules/IcePy/Proxy.cpp +++ b/python/modules/IcePy/Proxy.cpp @@ -1821,8 +1821,6 @@ proxyIceGetConnectionAsync(ProxyObject* self, PyObject* /*args*/, PyObject* /*kw try { - AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations. - result = (*self->proxy)->begin_ice_getConnection(cb); } catch(const Ice::Exception& ex) @@ -1897,8 +1895,6 @@ proxyBeginIceGetConnection(ProxyObject* self, PyObject* args, PyObject* kwds) Ice::AsyncResultPtr result; try { - AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations. - if(cb) { result = (*self->proxy)->begin_ice_getConnection(cb); @@ -2026,8 +2022,6 @@ proxyIceFlushBatchRequestsAsync(ProxyObject* self, PyObject* /*args*/, PyObject* try { - AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations. - result = (*self->proxy)->begin_ice_flushBatchRequests(cb); } catch(const Ice::Exception& ex) @@ -2100,8 +2094,6 @@ proxyBeginIceFlushBatchRequests(ProxyObject* self, PyObject* args, PyObject* kwd Ice::AsyncResultPtr result; try { - AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations. - if(cb) { result = (*self->proxy)->begin_ice_flushBatchRequests(cb); |