[omniORB] ORB initialization with endpoint leaks memory if initialization fails

Duncan Grisby duncan at grisby.org
Thu Sep 3 17:52:54 BST 2009


On Thursday 3 September, Bruce Visscher wrote:

> >  I also
> > don't know if it is valid to shutdown and restart an ORB according to the
> > CORBA standard,
> 
> To be clear, this is not valid.  The ORB is a singleton and cannot be
> reinitialized.  What I was talking about was whether it was legal to
> retry CORBA::ORB_init if it exits via exception.

Actually, it is valid. As long as orb->destroy() is called, it's valid
to do ORB_init again.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list