diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-03-29 23:15:51 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-03-29 23:15:51 +0000 |
commit | 9b3d2fb9b1e41dc70c4d63d0be044d838cbbd5a9 (patch) | |
tree | 51b73ea6557f4063003987f82f6853f9a0e1b485 /cpp/test/IceSSL/configuration/TestI.cpp | |
parent | fixing leaks (diff) | |
download | ice-9b3d2fb9b1e41dc70c4d63d0be044d838cbbd5a9.tar.bz2 ice-9b3d2fb9b1e41dc70c4d63d0be044d838cbbd5a9.tar.xz ice-9b3d2fb9b1e41dc70c4d63d0be044d838cbbd5a9.zip |
ensure that all servers are destroyed
Diffstat (limited to 'cpp/test/IceSSL/configuration/TestI.cpp')
-rw-r--r-- | cpp/test/IceSSL/configuration/TestI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/test/IceSSL/configuration/TestI.cpp b/cpp/test/IceSSL/configuration/TestI.cpp index 9e24210437f..ff96b504fe9 100644 --- a/cpp/test/IceSSL/configuration/TestI.cpp +++ b/cpp/test/IceSSL/configuration/TestI.cpp @@ -10,6 +10,7 @@ #include <Ice/Ice.h> #include <IceUtil/Thread.h> #include <TestI.h> +#include <TestCommon.h> using namespace std; using namespace Ice; @@ -60,5 +61,6 @@ ServerFactoryI::destroyServer(const Test::ServerPrx& srv, const Ice::Current&) void ServerFactoryI::shutdown(const Ice::Current& current) { + test(_servers.empty()); current.adapter->getCommunicator()->shutdown(); } |