blob: d5ca3e9d36a2b85bb986fd1b0bb6147fc4704d07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/**
* @file Servant_var.cpp
*
* $Id$
*
* @author Jody Hagins <jody@atdesk.com>
* @author Carlos O'Ryan <coryan@uci.edu>
*/
#ifndef CS_SERVANT_VAR_CPP
#define CS_SERVANT_VAR_CPP
#include "Servant_var.h"
#if !defined(__ACE_INLINE__)
#include "Servant_var.inl"
#endif /* __ACE_INLINE__ */
template<typename SERVANT>
Servant_var<SERVANT>::~Servant_var ()
{
if (this->ptr_ == 0)
return;
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY {
this->ptr_->_remove_ref (ACE_TRY_ENV);
ACE_TRY_CHECK;
} ACE_CATCHANY {
// @@ This event should be logged...
} ACE_ENDTRY;
}
#endif /* CS_SERVANT_VAR_CPP */
|