My project is freezing on openning
Sometimes it happens that you can write code that will load the processor at 100% and the browser freezes.
We have protection for for, while, while do, it's called Loop protection.
However, it is impossible to protect against infinite recursion. There is one solution:
Close frozen browser tab.
Open any other project without problems, or a new one: https://playcode.io/new.
Click to the green triangle and disable Run on opening.
Then open your project and try to fix your recursion.
![](https://storage.crisp.chat/users/helpdesk/website/706c762539245400/image_15wt6ht.png)
We have protection for for, while, while do, it's called Loop protection.
However, it is impossible to protect against infinite recursion. There is one solution:
Close frozen browser tab.
Open any other project without problems, or a new one: https://playcode.io/new.
Click to the green triangle and disable Run on opening.
Then open your project and try to fix your recursion.
![](https://storage.crisp.chat/users/helpdesk/website/706c762539245400/image_15wt6ht.png)
Updated on: 21/03/2022
Thank you!