CyUSB .NET application hangs when terminating | Cypress Semiconductor
CyUSB .NET application hangs when terminating
We have an application written in C# using the CyUSB.NET library, currently 184.108.40.206. It accesses a custom device with USB 2.0 hi-speed (
CyFX2Device), communicating via a bulk endpoint.
When the application is terminated, p.e. by using the Windows Task Manager or using the debugger, the process hangs until we disonnect the USB cable to the device. In the hanging state, a debugger can attach to the process but is unable to break in in order to examine the call stacks.
The expected behavior is that no such hang does occur.
Do you have a suggestion what's going on here, and how this issue can be remedied?