-
Frediano Ziglio authored
Attempt to better interrupt event handling loop. If the thread handling events is stuck waiting events or handling an event try to interrupt before joining the thread. For Unix code in spice_usb_device_manager_dispose will try to force some thread exit but this is not done for Windows so calling libusb_interrupt_event_handler will help. Code is not in a hot path so won't change the execution time. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
ca641a5b