Notification function called whenever the Editor is about to shut down.
This function is called after beginQuit was not vetoed.