summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index 2fad7d86c0a..28cc5f85b12 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -79,14 +79,14 @@ IceInternal::OutgoingAsync::__setup(const ConnectionPtr& connection, const Refer
void
IceInternal::OutgoingAsync::__invoke()
{
- _connection->incUsageCount();
+ _connection->incProxyCount();
try
{
_connection->sendAsyncRequest(this, _compress);
}
catch(...)
{
- _connection->decUsageCount();
+ _connection->decProxyCount();
throw;
}
}
@@ -190,23 +190,23 @@ IceInternal::OutgoingAsync::__finished(BasicStream& is)
catch(const Exception& ex)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
catch(const std::exception& ex)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
catch(...)
{
warnException();
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
- _connection->decUsageCount();
+ _connection->decProxyCount();
}
void
@@ -219,23 +219,23 @@ IceInternal::OutgoingAsync::__finished(const LocalException& ex)
catch(const Exception& ex)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
catch(const std::exception& ex)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
catch(...)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
- _connection->decUsageCount();
+ _connection->decProxyCount();
}
BasicStream*