summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src')
-rwxr-xr-xcppe/src/IceE/Communicator.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/cppe/src/IceE/Communicator.cpp b/cppe/src/IceE/Communicator.cpp
index f195c2fac91..5a81bbd35cf 100755
--- a/cppe/src/IceE/Communicator.cpp
+++ b/cppe/src/IceE/Communicator.cpp
@@ -178,19 +178,6 @@ Ice::Communicator::~Communicator()
Warning out(_instance->logger());
out << "Ice::Communicator::destroy() has not been called";
}
-
- if(_instance->__getRef() > 1)
- {
- PropertiesPtr properties = _instance->properties();
- if(properties->getPropertyAsIntWithDefault("Ice.Warn.Leaks", 1) > 0)
- {
- Warning warn(_instance->logger());
- warn <<
- "The communicator is not the last Ice object that is\n"
- "deleted. (You can disable this warning by setting the\n"
- "property `Ice.Warn.Leaks' to 0.)";
- }
- }
}
void