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.h
void Shutdown();
  
  void Focus();
  
  std::string GetVersion() const;
  
  void SetVersion(const std::string& version);
  
  std::string GetName() const;
  
  void SetName(const std::string& name);
  
  void AddRecentDocument(const base::FilePath& path);
  
  void ClearRecentDocuments();
  
  void SetAppUserModelID(const base::string16& name);
  
  bool RemoveAsDefaultProtocolClient(const std::string& protocol);
  
  bool SetAsDefaultProtocolClient(const std::string& protocol);
#if defined(OS_MACOSX)
  
  void Hide();
  
  void Show();
  
  bool IsDarkMode();
  
  enum BounceType {