Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / ORB_Core_TSS_Resources.cpp
blobf59d131c6d63802c84d03e78b14cfc91b5a02932
1 #include "tao/ORB_Core_TSS_Resources.h"
2 #include "tao/ORB_Core.h"
4 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
6 TAO_ORB_Core_TSS_Resources::TAO_ORB_Core_TSS_Resources ()
7 : event_loop_thread_ (0)
8 , client_leader_thread_ (0)
9 , lane_ (nullptr)
10 , ts_objects_ ()
11 , upcalls_temporarily_suspended_on_this_thread_ (false)
12 , orb_core_ (nullptr)
16 TAO_ORB_Core_TSS_Resources::~TAO_ORB_Core_TSS_Resources ()
18 this->fini ();
21 void
22 TAO_ORB_Core_TSS_Resources::fini ()
24 if (this->orb_core_ != nullptr)
26 this->orb_core_->tss_cleanup (this->ts_objects_);
28 this->orb_core_ = nullptr;
31 TAO_END_VERSIONED_NAMESPACE_DECL