From c5f494f3d7d63341c03751942f7d90441682f2da Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 8 Oct 2016 15:52:23 +0100 Subject: Clean test app class --- icespider/unittests/testApp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3