summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--icespider/unittests/testApp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/icespider/unittests/testApp.cpp b/icespider/unittests/testApp.cpp
index 5f37f62..67cec50 100644
--- a/icespider/unittests/testApp.cpp
+++ b/icespider/unittests/testApp.cpp
@@ -180,12 +180,13 @@ class TestApp : public Core {
adp(communicator->createObjectAdapterWithEndpoints("test", "default"))
{
adp->activate();
- communicator->proxyToString(adp->add(new TestSerice(), communicator->stringToIdentity("Test")));
+ adp->add(new TestSerice(), communicator->stringToIdentity("Test"));
}
~TestApp()
{
adp->deactivate();
+ adp->destroy();
}
Ice::ObjectAdapterPtr adp;