|
From: Phani K. <pha...@gm...> - 2017-08-17 13:55:51
|
Hi If application is killed by CTRL + C, then close is called on the open devices. In do_close (in core.c), which is called from libusb_close, we are going through the in-flight transfer list and deleting them. Why abort (libusb_cancel_transfer) is not called from the libusb library on those transfers as they might be pending with driver? Is it driver/respective platform's job to abort those inflight transfers when close is called on them or why not library take care of it by calling libusb_cancel_transfer while it doing close on device? Kindly clarify. Regards Phani |