diff options
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r-- | cpp/src/Ice/OutgoingAsync.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp index 3a5d6d41025..3b47a1bf490 100644 --- a/cpp/src/Ice/OutgoingAsync.cpp +++ b/cpp/src/Ice/OutgoingAsync.cpp @@ -247,7 +247,7 @@ IceInternal::OutgoingAsync::__prepare(const ReferencePtr& ref, const string& ope // while(_reference) { - wait(); + _monitor.wait(); } _reference = ref; @@ -396,6 +396,8 @@ IceInternal::OutgoingAsync::cleanup() delete __os; __os = 0; } + + _monitor.notify(); } void |