blob: ec9cc2839da66913d970a7564405593a2994ec8d (
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 (void)
{
ACE_DEBUG ((LM_DEBUG,
"(%P|%t) Shutting down the ORB again\n"));
try
{
this->orb_->shutdown (1);
}
catch (...)
{
// Don't allow exceptions to leave the destructor.
}
}
|