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
BOUNCE_CRITICAL = 0,
    BOUNCE_INFORMATIONAL = 10,
  };
  int DockBounce(BounceType type);
  void DockCancelBounce(int request_id);
  
  void DockSetBadgeText(const std::string& label);
  std::string DockGetBadgeText();
  
  void DockHide();
  void DockShow();
  
  void DockSetMenu(ui::MenuModel* model);
  
  void DockSetIcon(const gfx::Image& image);
#endif  
#if defined(OS_WIN)
  struct UserTask {
    base::FilePath program;
    base::string16 arguments;
    base::string16 title;
    base::string16 description;
    base::FilePath icon_path;
    int icon_index;
  };