summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ConnectionFactory.cpp')
-rw-r--r--cpp/src/Ice/ConnectionFactory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp
index 1e79be144c1..628aad18371 100644
--- a/cpp/src/Ice/ConnectionFactory.cpp
+++ b/cpp/src/Ice/ConnectionFactory.cpp
@@ -507,6 +507,8 @@ IceInternal::IncomingConnectionFactory::exception(const LocalException&)
string
IceInternal::IncomingConnectionFactory::toString() const
{
+ ::IceUtil::Monitor< ::IceUtil::Mutex>::Lock sync(*this);
+
if(_transceiver)
{
return _transceiver->toString();