summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/library/Server.cpp')
-rw-r--r--cpp/demo/Freeze/library/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Freeze/library/Server.cpp b/cpp/demo/Freeze/library/Server.cpp
index 0859b37db16..cd92f5975a5 100644
--- a/cpp/demo/Freeze/library/Server.cpp
+++ b/cpp/demo/Freeze/library/Server.cpp
@@ -83,8 +83,8 @@ LibraryServer::runFreeze(int argc, char* argv[], const Freeze::DBEnvironmentPtr&
//
// Everything ok, let's go.
//
- adapter->activate();
shutdownOnInterrupt();
+ adapter->activate();
communicator()->waitForShutdown();
ignoreInterrupt();