QUsb2snes
QUsb2snes copied to clipboard
Qusb2snes waits forever for GetAddress response if RetroArch emulator is quit
If a GetAddress opcode is started and the RetroArch emulator is quit, qusb2snes will wait forever for a UDP response from the emulator. In this case, the WebSocket will never respond to the application with the binary data response for the GetAddress opcode.
read tcp 127.0.0.1:56920->127.0.0.1:8080: i/o timeout
Ideally, qusb2snes should detect that the emulator has quit (via timeout for RetroArch since it is UDP) and close the related WebSocket connections.
There is already a timeout for that. It's weird it does not work