According to documentation when app.exit() is called the `will-quit` and `before-quit` events should not be fired. This is apparently not the case.
- Electron version: 0.36.5-0.36.9
- Operating system: OSX

atom/browser/browser.cc
if (version_override_.empty()) {
    std::string version = GetExecutableFileVersion();
    if (!version.empty())
      return version;
  }
  return version_override_;
}
void Browser::SetVersion(const std::string& version) {
  version_override_ = version;
}
std::string Browser::GetName() const {
  if (name_override_.empty()) {
    std::string name = GetExecutableFileProductName();
    if (!name.empty())
      return name;
  }
  return name_override_;
}
void Browser::SetName(const std::string& name) {
  name_override_ = name;
}
bool Browser::OpenFile(const std::string& file_path) {
  bool prevent_default = false;
  FOR_EACH_OBSERVER(BrowserObserver,
                    observers_,
                    OnOpenFile(&prevent_default, file_path));
  return prevent_default;
}
void Browser::OpenURL(const std::string& url) {