mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
The g-prefix sequences and the / search shortcut listened during play, so pressing common game keys (g then h/p/c, or /) navigated away and killed the session. Gate the handler on the playing store flag. EmulatorJS set the flag on play but never cleared it on unmount, leaving pad and hotkey navigation dead after exiting a game. Ruffle never set it at all, so Flash sessions had no protection. Both players now flag the session on play and release it on unmount.