summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/IceGridNode.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2009-01-23 17:07:21 -0500
committerBernard Normier <bernard@zeroc.com>2009-01-23 17:07:21 -0500
commit2380e089401d048490da23bc6d71e5687bafbe47 (patch)
tree6d97052d1f93bc2bafcd7fd1a9ebe103544b6cad /cpp/src/IceGrid/IceGridNode.cpp
parentFixed permissions (diff)
parent3.3.1 third-party updates (diff)
downloadice-2380e089401d048490da23bc6d71e5687bafbe47.tar.bz2
ice-2380e089401d048490da23bc6d71e5687bafbe47.tar.xz
ice-2380e089401d048490da23bc6d71e5687bafbe47.zip
Merge branch 'R3_3_branch' of cvs:/home/git/ice into R3_3_branch
Conflicts: java/resources/IceGridAdmin/icegridadmin_content_dyn.html java/resources/IceGridAdmin/icegridadmin_content_static.html
Diffstat (limited to 'cpp/src/IceGrid/IceGridNode.cpp')
-rw-r--r--cpp/src/IceGrid/IceGridNode.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/src/IceGrid/IceGridNode.cpp b/cpp/src/IceGrid/IceGridNode.cpp
index 1cfef3fab8e..4dc9a62e978 100644
--- a/cpp/src/IceGrid/IceGridNode.cpp
+++ b/cpp/src/IceGrid/IceGridNode.cpp
@@ -1,6 +1,6 @@
// **********************************************************************
//
-// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
+// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
@@ -521,7 +521,7 @@ NodeService::start(int argc, char* argv[])
catch(const Ice::NotRegisteredException&)
{
//
- // Some plugin removed the Process facet, so we don't replace it.
+ // Some plug-in removed the Process facet, so we don't replace it.
// (unlikely error though)
//
}
@@ -718,12 +718,6 @@ NodeService::stop()
_node->getPlatformInfo().stop();
//
- // Break cylic reference counts.
- //
- _node->destroy();
- _node = 0;
-
- //
// We can now safely shutdown the communicator.
//
try
@@ -739,6 +733,12 @@ NodeService::stop()
}
//
+ // Break cylic reference counts.
+ //
+ _node->shutdown();
+ _node = 0;
+
+ //
// And shutdown the collocated registry.
//
if(_registry)