diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-09-23 10:55:06 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-09-23 10:55:06 +0000 |
commit | 81868cc2b0c8a1cac1d43709455cf68f66736124 (patch) | |
tree | 8e8886af048b7765194ca91754cd4bde3825ba92 /cpp/src/IceGrid/ServerAdapterI.cpp | |
parent | Fix to prevent warning because of overloaded operators with Sun CC. (diff) | |
download | ice-81868cc2b0c8a1cac1d43709455cf68f66736124.tar.bz2 ice-81868cc2b0c8a1cac1d43709455cf68f66736124.tar.xz ice-81868cc2b0c8a1cac1d43709455cf68f66736124.zip |
Bug fix
Diffstat (limited to 'cpp/src/IceGrid/ServerAdapterI.cpp')
-rw-r--r-- | cpp/src/IceGrid/ServerAdapterI.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/ServerAdapterI.cpp b/cpp/src/IceGrid/ServerAdapterI.cpp index 9686f3faa84..f93798db82d 100644 --- a/cpp/src/IceGrid/ServerAdapterI.cpp +++ b/cpp/src/IceGrid/ServerAdapterI.cpp @@ -178,6 +178,13 @@ ServerAdapterI::destroy(const Ice::Current& current) current.adapter->remove(_this->ice_getIdentity()); } +void +ServerAdapterI::clear() +{ + Lock sync(*this); + _proxy = 0; +} + void ServerAdapterI::activationFailed(bool timeout) { |