Re: A fix for sample-container and a question



u07ih@abdn.ac.uk writes:

> Now my question :)
> 
> What is the policy for bonobo objects to kill themselves. After running
> sample-container with gnomines embedded, the bonobo-application-x-mines is still
> running. Is it up to the component to keep track of how many clients/views it
> has and destroy itself accordingly, or is it up to the container to explicitly
> destroy it, or have I missed some important reason why they stay around? (My guess
> is the former solution, as multiple containers can use the one embeddable
> process, so we don't want them dying randomly). 

The server process should keep track of the number of live objects and
exit when they are all gone. bonobo-text-plain is an example of doing
this properly.

 - Maciej




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