freeing an object whose clients have died unexpectantly



hello

	i have a server that has to free the objets that are allocated to
clients that die unexpectantly.

(To detect when the client died i pass an object from the client to the
server, and then i use the OBRit_small_listen_for_broken in that object)

	When the client dies the callback is called, and i should free the
object, to do this i have to do two bonobo_object_unrefs (because the
client that died couldn't do the bonobo_object_unref by itself), which
is ugly. Is there any other way to destroy an objet in this case?

Diego


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]