code: function handleFileQuit(commandData) {
          return _handleWindowGoingAway(
              commandData,
              function () {
                  brackets.app.quit();
              },
              function () {
                  // if fail, don't exit: user canceled (or asked us to save changes first, but we failed to do so)
                  brackets.app.abortQuit();
              }
          );
      }
docs: Closes the window, then quits the app