Godot Version
v.4.3 stable
Question
Is there a way to automatically close the scene/game after/when receiving an error?
Case:
I open my scene but recognises that I have some faulty code f.e.
The window switches focus to the editor (from the scene) so i start typing to correct the mistake.
The behavior of the scene window makes it look like its closing but in fact it is just moving to the background.
On saving the error in the file it starts loading 3-4 seconds or so, before throwing the file permissions error like below:
Only thing to do then is to close the error, and the scene and save again.
The entire process is rather tedious and it seems to me that there must be a fix/setting out there to resolve this. Help in that regard would be appreciated, also open for suggestions / workarounds, f.e. I even tried quitting the after the first few seconds.
Furthermore i tried surfing the problem, seems a windows issue and in many cases people are looking for the cause rather than a fix but would really appreciate the help/ a nod in the right direction to close the scene directly when erroring or programmatically before saving.

