summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Proxy.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2011-04-07 10:06:35 +0200
committerBenoit Foucher <benoit@zeroc.com>2011-04-07 10:06:35 +0200
commit882f85bfb8d6158adffbf6024c9a029ea0b13d63 (patch)
tree63a04bae891b7cbc3491710c6bf712972563084b /py/modules/IcePy/Proxy.cpp
parentAdded CHANGES entry for previous bug fix (diff)
downloadice-882f85bfb8d6158adffbf6024c9a029ea0b13d63.tar.bz2
ice-882f85bfb8d6158adffbf6024c9a029ea0b13d63.tar.xz
ice-882f85bfb8d6158adffbf6024c9a029ea0b13d63.zip
Bug 4720 - Improved AsyncResult to allow throwing local exception is request failed with local exception
Diffstat (limited to 'py/modules/IcePy/Proxy.cpp')
-rw-r--r--py/modules/IcePy/Proxy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/py/modules/IcePy/Proxy.cpp b/py/modules/IcePy/Proxy.cpp
index 35c9724e882..c0cdca329ba 100644
--- a/py/modules/IcePy/Proxy.cpp
+++ b/py/modules/IcePy/Proxy.cpp
@@ -1556,12 +1556,11 @@ extern "C"
static PyObject*
proxyIceFlushBatchRequests(ProxyObject* self)
{
- AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations.
-
assert(self->proxy);
try
{
+ AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations.
(*self->proxy)->ice_flushBatchRequests();
}
catch(const Ice::Exception& ex)