summaryrefslogtreecommitdiff
path: root/cppe/test
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-12-08 16:13:43 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-12-08 16:13:43 +0000
commit0480a55e590dce3d36fd9346c62aa0e9cda4a1df (patch)
treed1a439e3c0c9fee8d6b0d406b1c6c23633c20584 /cppe/test
parentImproved error messages (diff)
downloadice-0480a55e590dce3d36fd9346c62aa0e9cda4a1df.tar.bz2
ice-0480a55e590dce3d36fd9346c62aa0e9cda4a1df.tar.xz
ice-0480a55e590dce3d36fd9346c62aa0e9cda4a1df.zip
Fix
Diffstat (limited to 'cppe/test')
-rw-r--r--cppe/test/IceE/location/TestI.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cppe/test/IceE/location/TestI.cpp b/cppe/test/IceE/location/TestI.cpp
index a06431771e5..b2faf549237 100644
--- a/cppe/test/IceE/location/TestI.cpp
+++ b/cppe/test/IceE/location/TestI.cpp
@@ -30,6 +30,13 @@ ServerManagerI::startServer(const Ice::Current&)
int argc = 0;
char** argv = 0;
+ for(::std::vector<Ice::CommunicatorPtr>::const_iterator i = _communicators.begin(); i != _communicators.end(); ++i)
+ {
+ (*i)->waitForShutdown();
+ (*i)->destroy();
+ }
+ _communicators.clear();
+
//
// Simulate a server: create a new communicator and object
// adapter. The object adapter is started on a system allocated