gcancellable: Clarify that GSources hold references to GCancellables
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 24 Sep 2014 13:06:02 +0000 (14:06 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 27 Oct 2014 09:43:55 +0000 (09:43 +0000)
commit203fe3b8a8817da8e1ec771e2ebd15c747653158
tree481f050bf53598c39a9cc5701e8b3f1d6ba58b86
parent92d67358986c3be48ccbd4135b53ea591f15ea86
gcancellable: Clarify that GSources hold references to GCancellables

Clarify in the documentation that a GSource created with
g_cancellable_source_new() must be explicitly removed from its
GMainContext before the GCancellable can be finalised.

This could be a common way of leaking GCancellables.

https://bugzilla.gnome.org/show_bug.cgi?id=737259
gio/gcancellable.c