System.exit
makes GUI unable to initialize the project - don't exit the sandbox!
#9872
Labels
System.exit
makes GUI unable to initialize the project - don't exit the sandbox!
#9872
This is partially expected, but I'm wondering if we should explicitly disallow usage of
System.exit
inside of GUI.Because it shuts down the process, it kills the Language Server before it gets a chance to initialize.
The biggest problem is - the user can insert the
System.exit
node into a workflow, but afterwards it becomes impossible to remove it. Because to remove it the Language Server needs to initialize, but it shuts down before it has the chance to do so - breaking such a workflow completely, until it is manually edited in an external editor.The text was updated successfully, but these errors were encountered: