[omniORB] trying to interpret omniORB debug traces
Duncan Grisby
duncan@grisby.org
Wed Feb 12 13:03:02 2003
On Wednesday 12 February, Stefan Seefeld wrote:
> KitImpl::~KitImpl destructor to be called, which calls
>
> _poa->destroy(true, true);
You are destroying a POA in the context of an operation invocation,
and asking to wait for destruction to complete. As the comment in
poa.cc says, regardless of whether or not you are in the context of an
operation invocation on _that_ POA, the CORBA spec requires that
omniORB throws BAD_INV_ORDER. All you need to do to avoid the
exception is to say don't wait for completion, i.e.
_poa->destroy(true, false);
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --