summaryrefslogtreecommitdiff
path: root/TAO/tao/Utils/ORB_Destroyer.cpp
blob: f21bef3f86d8d6817d5fefc5e5f3ae7ef590527b (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
#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)
  ACE_THROW_SPEC (())
{
  try
    {
      orb->destroy ();
    }
  catch (...)
    {
      // @@ Cannot let exceptions escape, yet we need to log them!
    }
}

TAO_END_VERSIONED_NAMESPACE_DECL