summaryrefslogtreecommitdiff
path: root/cpp/demo/IceGrid/allocate/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceGrid/allocate/Client.cpp')
-rw-r--r--cpp/demo/IceGrid/allocate/Client.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/cpp/demo/IceGrid/allocate/Client.cpp b/cpp/demo/IceGrid/allocate/Client.cpp
index 2ab00a07b9c..d64bf0c4673 100644
--- a/cpp/demo/IceGrid/allocate/Client.cpp
+++ b/cpp/demo/IceGrid/allocate/Client.cpp
@@ -173,11 +173,6 @@ HelloClient::run(int argc, char* argv[])
cerr << argv[0] << ": could not allocate object: " << ex.reason << endl;
return EXIT_FAILURE;
}
- catch(const IceGrid::ObjectNotRegisteredException&)
- {
- cerr << argv[0] << ": object not registered with registry" << endl;
- return EXIT_FAILURE;
- }
}
menu();
@@ -214,11 +209,6 @@ HelloClient::run(int argc, char* argv[])
catch(const Ice::Exception& ex)
{
cerr << ex << endl;
-
- keepAlive->destroy();
- keepAlive->getThreadControl().join();
-
- return EXIT_FAILURE;
}
}
while(cin.good() && c != 'x');