Re: using ORBit_small_listen_for_broken() with bonobo objects

Ben Liblit <[email protected]> Mon, 12 Jul 2004 12:28:12 -0700
Newsgroups gmane.comp.gnome.components
Message-ID <[email protected]>
Gustavo J. A. M. Carneiro wrote:
>   CORBA_Object ref = BONOBO_OBJREF(server);

Ah, I knew it had to be something simple.  Thanks.

> ORBit_small_listen_for_broken() is meant to be used by the clients of a
> particular server object do detect when the connection with the server
> got lost.  In the server side there is no connection with its own
> objects, so...

...so it won't even trigger the callback?

Hmm.  That's too bad.  When a client dies, the server is left holding an 
instance created by that client which will never be destroyed.  It's 
effectively a leak.  Is there no way to detect and clean up after dead 
clients?