[omniORB] what happens if orb-destroy() is called before orb-run()
Tobias Eriksson
tobias.eriksson@comopt.com
Thu, 7 Mar 2002 09:59:46 +0100
There were a couple of ugly solutions here in our code, we were trying
to do orb->destroy on a call to the servant, something like cutting off
the branch you are sitting on. The problems are hopefully solved now.
/Tobias
-----Original Message-----
From: Duncan Grisby [mailto:dgrisby@uk.research.att.com]=20
Sent: 06 March 2002 19:50
To: Tobias Eriksson
Cc: omniorb-list@uk.research.att.com
Subject: Re: [omniORB] what happens if orb-destroy() is called before
orb-run()=20
On Tuesday 5 March, "Tobias Eriksson" wrote:
> Does anyone know what kind of problems I would expect from
> Calling orb->destroy() before orb->run().
There shouldn't be any problems. The call to orb->run() should throw
OBJECT_NOT_EXIST.
What exactly is the error you are seeing? Try updating to the latest
CVS snapshot of omniORB 3. Some things to do with ORB destruction are
a bit ugly in omniORB 3 (and fixed in omniORB 4), but something simple
like this should work OK.
Cheers,
Duncan.
--=20
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --