Game restarts on Iphone

Godot Version

4.4

Question

I export the game to HTML5, open it from iPhone, the game restarts after 10-15 sec.
If you press the Deck button, the game restarts after 5 seconds.
On android and PC everything is fine
How to understand what is the problem ?
I removed all textures, left only the main menu, still restarts after 20-30 seconds.

I don’t know how to get rid of it

https://game.danemarkbp.com/
Here’s the project

yes, same issue, i used no thread and yet it restarted after few seconds on iPhone and iPad

Are you maybe doing something CPU intensive? iOS kills apps it considers “unresponsive” at launch.