mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
requestExitVulkanRenderLoop went by renderLoopRunning, which the thread only set once it got going. A pause landing between thread creation and that point returned without signalling or joining, leaving a render thread running while paused, and every later start refused as "Already running". Go by whether there is a thread to join instead, set the running flag before the thread is created, and let the requester reset exitRenderLoop after the join rather than the thread itself. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>