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.
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.
Ideally, qusb2snes should detect that the emulator has quit (via timeout for RetroArch since it is UDP) and close the related WebSocket connections.