mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
A container can serve several platforms while holding one session, so a lookup that starts from the caller has to match the platform it was asked about. Otherwise a ps2 session shadows the same container's ngc row: the claim reads as a duplicate and 409s, status reports it active on a platform the caller holds nothing on, and an unnamed heartbeat or release lands on it. A desktop session is only reachable when the caller names its container, which is what the desktop view does, so a game tab no longer beats or releases an admin's desktop, and a desktop no longer blocks its admin's own game claim. Occupancy is still the reservation's job: the claim walk just fails that container's SET NX and moves on.