So we are working on a Simulator for which we are using a custom build Control Board which is having USB-Module inside it with. The Buttons and knobs of that control board are wired using the same usb-module and the control board then gets connected with PC using USB cable for inputs.
We are able to get the inputs from that control board successfully but when we are trying to quit the simulator using Application.Quit() then it gets hung until we are giving any input from the Control Board.
Later we remove the Quit Button from the simulation and let user use the Windows Default close button, it is showing same behavior on that as well, Application gets hung and doesn’t response but if user presses any button from physical control board then it closes.
Please help!