summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/IceGridNode.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-02-07 11:08:26 +0000
committerBenoit Foucher <benoit@zeroc.com>2007-02-07 11:08:26 +0000
commit34012c94436f64d0aab9e5ff06024a557d1f746b (patch)
tree83db3b38ab28f2da73b071b00458790f8e7cf820 /cpp/src/IceGrid/IceGridNode.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1739 (diff)
downloadice-34012c94436f64d0aab9e5ff06024a557d1f746b.tar.bz2
ice-34012c94436f64d0aab9e5ff06024a557d1f746b.tar.xz
ice-34012c94436f64d0aab9e5ff06024a557d1f746b.zip
Fixed bug 1767
Diffstat (limited to 'cpp/src/IceGrid/IceGridNode.cpp')
-rw-r--r--cpp/src/IceGrid/IceGridNode.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/IceGridNode.cpp b/cpp/src/IceGrid/IceGridNode.cpp
index 3f38c508056..adc97262422 100644
--- a/cpp/src/IceGrid/IceGridNode.cpp
+++ b/cpp/src/IceGrid/IceGridNode.cpp
@@ -469,6 +469,11 @@ NodeService::start(int argc, char* argv[])
_adapter->add(_node, nodeProxy->ice_getIdentity());
//
+ // Start the platform info thread if needed.
+ //
+ _node->getPlatformInfo().start();
+
+ //
// Create the node sessions with the registries.
//
_sessions.create(_node);
@@ -689,6 +694,11 @@ NodeService::stop()
_sessions.destroy();
//
+ // Stop the platform info thread.
+ //
+ _node->getPlatformInfo().stop();
+
+ //
// Break cylic reference counts.
//
_node->destroy();