mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
A full navigation out of the player aborts the route change, so the leave guards below the view never run and the v1 player's pending save was lost. `usePlayerExit` now settles the departing document first, and EmulatorJS asks the v1 `Player` for its flush there. js-dos reached its view by SPA navigation without cross-origin isolation, although the DOSBox-X backend is a threaded build and nginx has always isolated its URL. It now relaunches into an isolated document the way EmulatorJS does, so the view still opens without a page load. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>