agent: Fix a leak of a GCancellable and its GSource
The GSource holds a reference to the GCancellable, so needs to be explicitly removed from the GMainContext when it’s finised with.
Showing
Please register or sign in to comment
The GSource holds a reference to the GCancellable, so needs to be explicitly removed from the GMainContext when it’s finised with.