diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2016-03-08 14:28:24 -0600 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@redhat.com> | 2016-03-11 09:52:46 -0600 |
commit | 9c8f8982c1b51adf98785d05323c6ab32369a682 (patch) | |
tree | 032b95b2b483f78b9231c892f5469b3ef2c66a84 /spice-client-glib-2.0.pc.in | |
parent | 3e5004dd5758da27b6f7dab3808769303c30044e (diff) | |
download | spice-gtk-9c8f8982c1b51adf98785d05323c6ab32369a682.tar.gz spice-gtk-9c8f8982c1b51adf98785d05323c6ab32369a682.tar.xz spice-gtk-9c8f8982c1b51adf98785d05323c6ab32369a682.zip |
usb-acl-helper: Avoid deadlock when cancelled
cancelled_cb() (which is triggered when the GCancellable's "cancelled"
signal is emitted) called spice_usb_acl_helper_close_acl(), which calls
spice_usb_acl_helper_cleanup(), which in turn calls
g_cancellable_disconnect(). Calling g_cancellable_disconnect() from
within a "cancelled" handler results in a dealock, as mentioned in the
documentation. Instead of closing the acl here, simply cancel the task
here. The cleanup() call will happen when the SpiceUsbAclHelper object
is destroyed.
Diffstat (limited to 'spice-client-glib-2.0.pc.in')
0 files changed, 0 insertions, 0 deletions