Revert "[Ide] Call NSApplication.Terminate when exiting. Fixes #14789"

This reverts commit 50f0535c00ced37d017f1af2e57c342b080b2c36.