summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-01-07 19:37:17 +0100
committerBenoit Foucher <benoit@zeroc.com>2009-01-07 19:37:17 +0100
commitb5042ce24aaa2dcff2092046b322ff61c3d9ef8c (patch)
treedcdca6930377ad9098eeb9996ce1f7663c79e5db /cpp/src/IceGrid/ServerI.cpp
parentOther fix for 3601 - plugins can be destroyed twice (diff)
downloadice-b5042ce24aaa2dcff2092046b322ff61c3d9ef8c.tar.bz2
ice-b5042ce24aaa2dcff2092046b322ff61c3d9ef8c.tar.xz
ice-b5042ce24aaa2dcff2092046b322ff61c3d9ef8c.zip
Squashed commit of the following:
commit 8019e6de4480f361a83d8944afec60793454c322 Author: Benoit Foucher <benoit@zeroc.com> Date: Wed Jan 7 17:16:40 2009 +0100 Fixed bug 3516 - Fixed scaling issue when using round-robin replica groups commit 6c36afb32dda8b37b7d5330ed51a439bc73b17db Author: Benoit Foucher <benoit@zeroc.com> Date: Wed Jan 7 17:16:36 2009 +0100 Fixed bug 3230 - IceGrid node leak
Diffstat (limited to 'cpp/src/IceGrid/ServerI.cpp')
-rw-r--r--cpp/src/IceGrid/ServerI.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index 79b5cd80b67..b01219c4e46 100644
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -1694,6 +1694,14 @@ ServerI::terminated(const string& msg, int status)
}
void
+ServerI::shutdown()
+{
+ Lock sync(*this);
+ assert(_state == ServerI::Inactive);
+ _timerTask = 0;
+}
+
+void
ServerI::update()
{
ServerCommandPtr command;