summaryrefslogtreecommitdiff
path: root/TAO/tests/ForwardUponObjectNotExist/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/ForwardUponObjectNotExist/server.cpp')
-rwxr-xr-xTAO/tests/ForwardUponObjectNotExist/server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tests/ForwardUponObjectNotExist/server.cpp b/TAO/tests/ForwardUponObjectNotExist/server.cpp
index eb95494366b..133182484f3 100755
--- a/TAO/tests/ForwardUponObjectNotExist/server.cpp
+++ b/TAO/tests/ForwardUponObjectNotExist/server.cpp
@@ -97,6 +97,10 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
orb->run ();
ACE_DEBUG ((LM_DEBUG, "(%P|%t)server: event loop finished\n"));
+
+ root_poa->destroy (1, 1);
+
+ orb->destroy ();
}
catch (const CORBA::Exception& ex)
{