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 (is_shutdown_)
    return;
  is_shutdown_ = true;
  is_quiting_ = true;
  FOR_EACH_OBSERVER(BrowserObserver, observers_, OnQuit());
  if (base::MessageLoop::current()) {
    base::MessageLoop::current()->PostTask(
        FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
  } else {
    
    exit(0);
  }
}
std::string Browser::GetVersion() const {