blob: bdf1fdec49a7485f00f8eceb66a3d0b6c6ea6b2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "Foo_Bar.h"
Foo_Bar::Foo_Bar (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
Foo_Bar::~Foo_Bar ()
{
ACE_DEBUG ((LM_DEBUG,
"(%P|%t) Shutting down the ORB again\n"));
try
{
this->orb_->shutdown (true);
}
catch (...)
{
// Don't allow exceptions to leave the destructor.
}
}
|