summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceGrid/ServerI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index 9e652cebd4e..6168080c3dc 100644
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -756,7 +756,8 @@ StopCommand::StopCommand(const ServerIPtr& server, const IceUtil::TimerPtr& time
bool
StopCommand::isStopped(ServerI::InternalServerState state)
{
- return state == ServerI::Inactive || state == ServerI::Patching || state == ServerI::Loading;
+ return state == ServerI::Inactive || state == ServerI::Patching || state == ServerI::Loading ||
+ state >= ServerI::Destroying;
}
bool