QUsb2snes icon indicating copy to clipboard operation
QUsb2snes copied to clipboard

Qusb2snes waits forever for GetAddress response if RetroArch emulator is quit

Open JamesDunne opened this issue 3 years ago • 1 comments

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.

JamesDunne avatar Apr 17 '21 21:04 JamesDunne

There is already a timeout for that. It's weird it does not work

Skarsnik avatar May 01 '21 19:05 Skarsnik