-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Occurs on shutdown, freenect_process_events(), freenect_stop_depth(), freenect_stop_video(), or on shutdown if had iso errors during init....
Current solution so far (for osx), modified usb_libusb10.c
- replaced all instances of "libusb_handle_events(..)", with "struct timeval tv = {.tv_sec=1, .tv_usec=0}; libusb_handle_events_timeout(..)" to make things timeout faster.
- made fnusb_start_iso() do a "strm->dead_xfers++;" when it "Failed to submit isochronous transfer" - to ensure shutdown waits on the correct number of events.