summaryrefslogtreecommitdiff
path: root/TAO/tao/Utils/ORB_Destroyer.cpp
blob: 53b9e90a75732c179fe79fc3532bc606e6ebb709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "tao/Utils/ORB_Destroyer.h"


ACE_RCSID (Utils,
           ORB_Destroyer,
           "$Id$")

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

void
TAO::Utils::ORB_Destroyer_Functor::operator() (CORBA::ORB_ptr orb) throw ()
{
  try
    {
      orb->destroy ();
    }
  catch (...)
    {
      // @@ Cannot let exceptions escape, yet we need to log them!
    }
}

TAO_END_VERSIONED_NAMESPACE_DECL