diff options
author | Bernard Normier <bernard@zeroc.com> | 2012-10-10 17:02:02 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2012-10-10 17:02:02 +0000 |
commit | b3e95b51dd021b3e491146e093a11e729c919f90 (patch) | |
tree | 6c2e0c35a128b401f340667be7b94654fa7676a5 /cpp/src/Ice/Outgoing.cpp | |
parent | Improved tracing of failures, user exceptions are now tracked (diff) | |
download | ice-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.cpp | 10 |
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 |