Bug 13559 - Warning when cancelling async call because of weak ref
Summary: Warning when cancelling async call because of weak ref
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-07 05:03 UTC by Xavier Claessens
Modified: 2007-12-13 07:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
proposed patch (671 bytes, patch)
2007-12-07 05:04 UTC, Xavier Claessens
Details | Splinter Review

Description Xavier Claessens 2007-12-07 05:03:15 UTC
In tp-glib client code, we can give a gobject to async calls and signals to tell tp-glib to cancel/disconnect them if the object is finalized.

When a signal/call is disconnected/cancelled because of the weak ref, TpProxy will call g_object_weak_unref() on the finalized object and cause a warning.
Comment 1 Xavier Claessens 2007-12-07 05:04:23 UTC
Created attachment 12994 [details] [review]
proposed patch
Comment 2 Simon McVittie 2007-12-13 07:55:26 UTC
Applied in Darcs, will be in 0.7.1.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.