summaryrefslogtreecommitdiff
path: root/TAO/tests/DynAny_Test/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/DynAny_Test/driver.cpp')
-rw-r--r--TAO/tests/DynAny_Test/driver.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/tests/DynAny_Test/driver.cpp b/TAO/tests/DynAny_Test/driver.cpp
index 917d38b2eb8..6f51ccaefce 100644
--- a/TAO/tests/DynAny_Test/driver.cpp
+++ b/TAO/tests/DynAny_Test/driver.cpp
@@ -57,6 +57,11 @@ Driver::Driver (void)
// destructor
Driver::~Driver (void)
{
+ if (this->orb_.in () != 0)
+ {
+ this->orb_->shutdown ();
+ this->orb_->destroy ();
+ }
}
// initialize the driver