summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Proxy.cpp
diff options
context:
space:
mode:
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)