A few things in one issue here:
- navigating away from the project page while a project is running does not stop the project
- navigating away from one project and to another project, without reloading the page, sometimes causes the project runner to crash, often at js/looks/switchcostumeto.ts:5 (
TypeError: Cannot read properties of undefined (reading 'data')); this is probably due to the setup function not running when the project is switched, as the module is not reimported.
Essentially, state just needs to be cleaned up when a navigation event occurs.