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
Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git]
/
TAO
/
tests
/
ORB_shutdown
/
Foo_Bar.cpp
blob
ec9cc2839da66913d970a7564405593a2994ec8d
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
(
void
)
9
{
10
ACE_DEBUG
((
LM_DEBUG
,
11
"(%P|%t) Shutting down the ORB again
\n
"
));
12
13
try
14
{
15
this
->
orb_
->
shutdown
(
1
);
16
}
17
catch
(...)
18
{
19
// Don't allow exceptions to leave the destructor.
20
}
21
}