diff options
Diffstat (limited to 'TAO/tests/DynAny_Test/driver.cpp')
-rw-r--r-- | TAO/tests/DynAny_Test/driver.cpp | 5 |
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 |