Don't emit 'will-quit' when 'app.exit()' is called. Fixes #4643
This commit is contained in:
parent
8bcede8019
commit
6e46753499
2 changed files with 12 additions and 3 deletions
|
@ -183,10 +183,13 @@ class Browser : public WindowListObserver {
|
|||
// Observers of the browser.
|
||||
base::ObserverList<BrowserObserver> observers_;
|
||||
|
||||
// Whether `app.exit()` has been called
|
||||
bool is_exiting_;
|
||||
|
||||
// Whether "ready" event has been emitted.
|
||||
bool is_ready_;
|
||||
|
||||
// The browse is being shutdown.
|
||||
// The browser is being shutdown.
|
||||
bool is_shutdown_;
|
||||
|
||||
std::string version_override_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue