[Bug 21097] proxy subclasses should support optional features

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 6 18:50:01 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=21097

--- Comment #10 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2010-04-06 09:50:01 PDT ---
(In reply to comment #5)
> The rationale is that this is the safe way to do weak refs. As long as only a
> weak ref is held, the object's last ref could be released at any time, by any
> call into user-supplied code (notably, any signal emission!); temporarily
> strengthening the ref fixes this.

I'm not sure to understand this. If the callback is called the object is still
alive right? So, how can it be destroyed while I'm in the callback? Or are you
considering multi-threated code?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list