summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Outgoing.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2012-10-10 17:02:02 +0000
committerBernard Normier <bernard@zeroc.com>2012-10-10 17:02:02 +0000
commitb3e95b51dd021b3e491146e093a11e729c919f90 (patch)
tree6c2e0c35a128b401f340667be7b94654fa7676a5 /cpp/src/Ice/Outgoing.cpp
parentImproved tracing of failures, user exceptions are now tracked (diff)
downloadice-b3e95b51dd021b3e491146e093a11e729c919f90.tar.bz2
ice-b3e95b51dd021b3e491146e093a11e729c919f90.tar.xz
ice-b3e95b51dd021b3e491146e093a11e729c919f90.zip
Fixed test/Ice/hold failure
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r--cpp/src/Ice/Outgoing.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp
index e02e28063a4..44571200fdf 100644
--- a/cpp/src/Ice/Outgoing.cpp
+++ b/cpp/src/Ice/Outgoing.cpp
@@ -342,6 +342,11 @@ IceInternal::Outgoing::abort(const LocalException& ex)
void
IceInternal::Outgoing::sent(bool notify)
{
+ if(_handler->getReference()->getMode() != Reference::ModeTwoway)
+ {
+ _remoteObserver.detach();
+ }
+
if(notify)
{
IceUtil::Monitor<IceUtil::Mutex>::Lock sync(_monitor);
@@ -356,11 +361,6 @@ IceInternal::Outgoing::sent(bool notify)
//
_sent = true;
}
-
- if(_handler->getReference()->getMode() != Reference::ModeTwoway)
- {
- _remoteObserver.detach();
- }
}
void