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
}
namespace ui {
class MenuModel;
}
namespace gfx {
class Image;
}
namespace atom {
class LoginHandler;
class Browser : public WindowListObserver {
 public:
  Browser();
  ~Browser();
  static Browser* Get();
  
  void Quit();
  
  void Exit(int code);