[omniORB] Question re: process shutdown and multiple DLLs.

Michael L Bendickson bendi003@tc.umn.edu
Wed, 14 Feb 2001 10:13:37 -0600 (CST)

I have two DLLs that an application is using that use omniORB.
One of the DLLs is both a CORBA server and client, the other is only a 
client.  The DLLs don't communicate with each other.  They use different
interfaces and connect to different servers.

My question is regarding proper cleanup of the ORB and BOA.  Both DLLs
are calling ORB_init() and BOA_init() on startup. Should they each call 
boa->destroy() and orb->NP_destroy() on shutdown?  I think the answer is yes,
but I'm not exactly sure how the DLLs work, and what (if anything) is
shared/separate.  Does boa->destroy() and orb->NP_destroy() in 1 DLL have
any effect on the other?