• Jakub Janků's avatar
    vmcstream: fix task cancellation · 69e90462
    Jakub Janků authored
    If the task is cancelled, g_task_propagate_pointer()
    in spice_vmc_output_stream_write_finish() returns NULL
    which produces following errors:
    
        (spicy:13597): GSpice-CRITICAL **: 15:39:46.168: spice_vmc_write_finish: assertion 'result != NULL' failed
    
        (spicy:13597): GLib-GObject-CRITICAL **: 15:39:46.168: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    To fix this, call spice_vmc_write_finish() immediately in the
    corresponding write_cb().
    Signed-off-by: Jakub Janků's avatarJakub Janků <jjanku@redhat.com>
    Acked-by: 's avatarVictor Toso <victortoso@redhat.com>
    69e90462
Name
Last commit
Last update
build-aux Loading commit data...
data Loading commit data...
doc Loading commit data...
man Loading commit data...
po Loading commit data...
src Loading commit data...
subprojects Loading commit data...
tests Loading commit data...
tools Loading commit data...
vapi Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
.gitpublish Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CHANGELOG.md Loading commit data...
COPYING Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...