[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: Temporarily replacing a service
From: Havoc Pennington <hp () redhat ! com>
Date: 2004-10-29 14:49:15
Message-ID: 1099061355.7475.3.camel () localhost ! localdomain
[Download RAW message or body]
On Fri, 2004-10-29 at 10:26 +0300, Johan Hedberg wrote:
> Hi,
>
> I was trying out the DBUS_SERVICE_FLAGS_REPLACE_EXISTING flag when
> aquiring a service, and it seems to function as documented. However,
> when the replacing application exits the application which owned the
> service to begin with doesn't get the service back. Is this the intended
> behaviour, or would it be better if the first application would become
> the owner of the service again?
>
> What I would want to have is the possibility for an application to
> temporarily become owner for a service so that when it exits the
> ownership would be automatically returned to the first application. Btw,
> I'm using D-BUS 0.22.
>
We could do that by moving the replaced app onto the "secondary owner"
list that I think we still have in the code.
I think the currently behavior was intended, though your suggestion is a
reasonable-sounding one.
Havoc
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic