summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2016-08-08 17:49:31 +0200
committerPavel Grunt <pgrunt@redhat.com>2016-08-10 15:24:19 +0200
commita0c7e6b1249089ddbfc64823ddb86b296ee92dc8 (patch)
tree833690498131b38f5422377ae4075f6965213954
parent51b7766144c3a42b24792c3c6650fc0019b83081 (diff)
vmcstream: Do not disconnect cancellable in coroutine
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' Acked-by: Victor Toso <victortoso@redhat.com>
-rw-r--r--src/vmcstream.c1
1 files changed, 0 insertions, 1 deletions
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);
}