- Electron version: 1.1.1
- Operating system: OSX 10.11.4 (El Capitan)

If you create a BrowserWindow and set BrowserWindowOptions.closable, calling app.quit does not close the application in OSX. AFAIK, it is expected that calling app.quit() closes the app irrespectively of how the windows are built.

The behavior is not observed in Windows, only OSX. To quit the app in OSX, you need go to the dock, right click on the app and select Quit **twice**.

atom/browser/native_window_views.cc
views::Widget* widget, const gfx::Rect& bounds) {
  if (widget != window_.get())
    return;
  if (widget_size_ != bounds.size()) {
    NotifyWindowResize();
    widget_size_ = bounds.size();
  }
}
void NativeWindowViews::DeleteDelegate() {
  NotifyWindowClosed();
}
views::View* NativeWindowViews::GetInitiallyFocusedView() {
  return inspectable_web_contents()->GetView()->GetWebView();
}
bool NativeWindowViews::CanResize() const {
  return resizable_;
}
bool NativeWindowViews::CanMaximize() const {
  return resizable_ && maximizable_;
}
bool NativeWindowViews::CanMinimize() const {
#if defined(OS_WIN)
  return minimizable_;
#elif defined(USE_X11)
  return true;
#endif
}
base::string16 NativeWindowViews::GetWindowTitle() const {