[omniORB] destructor not called on _dispose()

Randy Shoup rshoup@tumbleweed.com
Fri, 03 Dec 1999 12:52:38 -0800


Most likely the reference count of the object is off -- the servant has
probably been _duplicate()'d or _this()'d or _narrow()'d one too many
times.

_dispose() does not destruct the servant unless and until all the
servant's references are released.  This is to prevent a servant from
being destructed while a call is in-flight on it.

-- Randy
Tumbleweed Communications

Rob Cecil wrote:
> 
> Can anyone think of a reason the dtor of a Corba server implementation
> would not be called, when _dispose()'d?
> 
> Thanks
> 
> --
> | Rob Cecil          | Senior Development Engineer                 |
> | rceci@adams.com    | Product Development                         |
> | (734) 913-9351     | Mechanical Dynamics, Inc. (www.adams.com)   |
> --------------------------------------------------------------------
>  Modern Quantum Physics has found that the universe is composed of
>  25% protons, 15% electrons, 15% neutrons, and 45% morons.
> 
>