summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/CommunicatorI.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-05-04 19:27:48 +0000
committerMark Spruiell <mes@zeroc.com>2003-05-04 19:27:48 +0000
commit356f03d7498128e46a1207c07ce3f339060e19b7 (patch)
tree5263ce4e5e5c72e12027c15182947d638068f5f3 /cpp/src/Ice/CommunicatorI.cpp
parentFixed property for compression: doc said the name is "Compression", but it (diff)
downloadice-356f03d7498128e46a1207c07ce3f339060e19b7.tar.bz2
ice-356f03d7498128e46a1207c07ce3f339060e19b7.tar.xz
ice-356f03d7498128e46a1207c07ce3f339060e19b7.zip
merge with e3_2003
Diffstat (limited to 'cpp/src/Ice/CommunicatorI.cpp')
-rw-r--r--cpp/src/Ice/CommunicatorI.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/Ice/CommunicatorI.cpp b/cpp/src/Ice/CommunicatorI.cpp
index f0272f655ca..2a615f64ca0 100644
--- a/cpp/src/Ice/CommunicatorI.cpp
+++ b/cpp/src/Ice/CommunicatorI.cpp
@@ -228,10 +228,11 @@ void
Ice::CommunicatorI::setLogger(const LoggerPtr& logger)
{
RecMutex::Lock sync(*this);
- if(_destroyed)
- {
- throw CommunicatorDestroyedException(__FILE__, __LINE__);
- }
+ //
+ // No check for destruction. It must be possible to set the logger
+ // after destruction (needed by logger plugins for example to
+ // unset the logger).
+ //
_instance->logger(logger);
}