summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Server.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-01-18 17:22:56 +0000
committerMarc Laukien <marc@zeroc.com>2004-01-18 17:22:56 +0000
commitfa31d3fa87da110078ed80e52a39c2f598998d3e (patch)
tree311c6a7793bac015a4e1c60b2248bd63dc8615b0 /cpp/src/IcePatch/Server.cpp
parentfix (diff)
downloadice-fa31d3fa87da110078ed80e52a39c2f598998d3e.tar.bz2
ice-fa31d3fa87da110078ed80e52a39c2f598998d3e.tar.xz
ice-fa31d3fa87da110078ed80e52a39c2f598998d3e.zip
fix
Diffstat (limited to 'cpp/src/IcePatch/Server.cpp')
-rw-r--r--cpp/src/IcePatch/Server.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/IcePatch/Server.cpp b/cpp/src/IcePatch/Server.cpp
index 60a06d91d16..df0ddf5aa3d 100644
--- a/cpp/src/IcePatch/Server.cpp
+++ b/cpp/src/IcePatch/Server.cpp
@@ -185,16 +185,17 @@ IcePatch::Updater::run()
catch(const Exception& ex)
{
//
- // Log other exceptions only if we are not destroyed.
+ // Log other exceptions only if we are not destroyed and
+ // if we were not interrupted.
//
- if(!_destroy)
+ if(!_destroy && !Application::interrupted())
{
Error out(_logger);
out << "exception during update:\n" << ex;
}
}
- if(_destroy)
+ if(_destroy || Application::interrupted())
{
break;
}