[Spice-devel] [PATCH spice-gtk] vmcstream: Do not disconnect cancellable in coroutine

Pavel Grunt pgrunt at redhat.com
Mon Aug 8 15:49:31 UTC 2016


It is disconnected when spice_vmc_input_stream_read_all_finish()
is called.

Silence many warnings appearing with webdav:
 GLib-GObject-WARNING **: gsignal.c:2635: instance '0x7fe658015c40' has no handler with id '13555'
---
 src/vmcstream.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/vmcstream.c b/src/vmcstream.c
index 09a296b..0634bce 100644
--- a/src/vmcstream.c
+++ b/src/vmcstream.c
@@ -165,7 +165,6 @@ spice_vmc_input_stream_co_data(SpiceVmcInputStream *self,
         cb_data->pos = self->pos;
         g_idle_add(complete_in_idle_cb, cb_data);
 
-        g_cancellable_disconnect(g_task_get_cancellable(self->task), self->cancel_id);
         g_clear_object(&self->task);
     }
 
-- 
2.9.2



More information about the Spice-devel mailing list