X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bmusb.cpp;fp=bmusb.cpp;h=4a5f8a3c4b588336aa67ad3448f6e78d17e9bfb8;hb=fc545e7ef82a73a082ab87e6416c78fe5205ad07;hp=83ea717dd678512c6addbaf7609affd594115116;hpb=e287f28087aef9cfd6aa47acd0d283bc177a9d70;p=bmusb diff --git a/bmusb.cpp b/bmusb.cpp index 83ea717..4a5f8a3 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -1479,6 +1479,7 @@ void BMUSBCapture::start_bm_thread() void BMUSBCapture::stop_bm_thread() { should_quit = true; + libusb_interrupt_event_handler(nullptr); usb_thread.join(); }