[Telepathy] Uniqueness of objects

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Oct 1 05:21:54 PDT 2008


On Wed, 01 Oct 2008 at 07:24:58 +0200, Xavier Claessens wrote:
> The spec doesn't say exactly
> what happens if ReleaseHandle is called more than once

The spec does (or should) say that HoldHandle is idempotent, i.e. one
call is equivalent to many calls. The intention and implementation is
that whether a client :1.42 is holding handle 123 is binary - either it
is or it isn't. So however many times :1.42 calls HoldHandle or
RequestHandles, it only has one reference to handle 123, and
ReleaseHandles([123]) is sufficient to release that reference.

    Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20081001/9febf8f3/attachment.pgp 


More information about the Telepathy mailing list