Window: Close When Empty

When you enable Window: Close When Empty, VS Code will automatically close the window when the last editor in it is closed.

This only applies when you have not opened a folder or workspace.