summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/RegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/RegistryI.cpp')
-rw-r--r--cpp/src/IceGrid/RegistryI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/RegistryI.cpp b/cpp/src/IceGrid/RegistryI.cpp
index 0871e62844b..6c2e55efe18 100644
--- a/cpp/src/IceGrid/RegistryI.cpp
+++ b/cpp/src/IceGrid/RegistryI.cpp
@@ -401,14 +401,20 @@ RegistryI::stop()
{
_reaper->terminate();
_reaper->getThreadControl().join();
+ _reaper = 0;
if(_adminReaper)
{
_adminReaper->terminate();
_adminReaper->getThreadControl().join();
+ _adminReaper = 0;
}
_iceStorm->stop();
+ _iceStorm = 0;
+
+ _database->destroy();
+ _database = 0;
}
NodeSessionPrx