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


ACE_RCSID (Utils,
           ORB_Destroyer,
           "$Id$")
void
TAO::Utils::ORB_Destroyer_Functor::operator() (CORBA::ORB_ptr orb)
  ACE_THROW_SPEC (())
{
  ACE_DECLARE_NEW_CORBA_ENV;
  ACE_TRY
    {
      orb->destroy (ACE_ENV_SINGLE_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHALL
    {
      // @@ Cannot let exceptions escape, yet we need to log them!
    }
  ACE_ENDTRY;
}