Permalink
Browse files

Workaround a bug in libusb-1.0.21.

It is fixed in:

libusb/libusb@a90331a
  • Loading branch information...
1 parent 334c824 commit 71beba8917d29182d3a0b93ca1a629c26150b5c9 @larskanis committed Nov 28, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/test_libusb_hotplug.rb
@@ -118,6 +118,7 @@ def test_interrupt_event_handler
ctx.handle_events 5000
end
+ sleep 0.1 # Workaround a bug in libusb-1,0.21
st = Time.now
ctx.interrupt_event_handler
th.join

0 comments on commit 71beba8

Please sign in to comment.