repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git]
/
TAO
/
tests
/
ORB_shutdown
/
Foo_Bar.cpp
blob
bdf1fdec49a7485f00f8eceb66a3d0b6c6ea6b2f
1
#include
"Foo_Bar.h"
2
3
Foo_Bar
::
Foo_Bar
(
CORBA
::
ORB_ptr orb
)
4
:
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
5
{
6
}
7
8
Foo_Bar
::~
Foo_Bar
()
9
{
10
ACE_DEBUG
((
LM_DEBUG
,
11
"(%P|%t) Shutting down the ORB again
\n
"
));
12
13
try
14
{
15
this
->
orb_
->
shutdown
(
true
);
16
}
17
catch
(...)
18
{
19
// Don't allow exceptions to leave the destructor.
20
}
21
}