blob: a9d364e90f2ee29bba3b2eae9505514479a84ec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// $Id$
#include "tao/ORB_Core_TSS_Resources.h"
TAO_ORB_Core_TSS_Resources::TAO_ORB_Core_TSS_Resources (void)
: event_loop_thread_ (0)
, client_leader_thread_ (0)
, lane_ (0)
, ts_objects_ ()
, upcalls_temporarily_suspended_on_this_thread_ (false)
, orb_core_ (0)
{
}
TAO_ORB_Core_TSS_Resources::~TAO_ORB_Core_TSS_Resources (void)
{
//@@ This is broken on platforms that use TSS emulation since this
// destructor is invoked after the ORB. Since we're under
// pressure to release a beta, we'll have to leak the TSS objects
// stores in the <ts_objects_> array. However, the only service
// known to currently use this array is the SSLIOP pluggable
// protocol. Fortunately, it registeres a null cleanup function
// so we're not leaking anything yet. We *do* need to fix this
// before other services start to use this array.
// -Ossama
// if (this->orb_core_ != 0)
// this->orb_core_->tss_cleanup_funcs ()->cleanup (this->ts_objects_);
}
|