mirror of
https://github.com/mihawk-99/PS5_RetroArch.git
synced 2026-10-18 23:09:29 -05:00
On the console the daemon stopped minutes after every start, the page then refused to connect, and the status said RetroArch was closed while the picker ran. Its log (webui-daemon.txt): "serving the WebUI" 6 s (9 s the time before) after its start, then "linked: picker", "unlinked: title", "unlinked: picker", and 20 s later "no program of the title linked: the title is closed". The WebUI's start (reading the library, once for each of 16 saved scraping jobs) ran on the link loop: the picker's hello waited past its 5 s, the picker gave up for good, and the daemon, linked to nothing, stopped. - The daemon starts the WebUI on a thread of its own (4 MiB stack, joined before a stop): hellos are answered meanwhile. - The saved jobs are read against one scan of the library, not one each. - src/webui_link.cpp: a hello not answered is asked again every second, never given up while the daemon is there. Evidence: tests/test_webui_daemon.py test_hellos_are_answered_while_the_webui_starts (a start made 7 s slow: both hellos answered in under 1.5 s, the WebUI up later with the right frontend). tools/verify.sh: PASS (format unit build integration evidence).