Correctly handle notification callback when shutting down
When returning false in the notification callback the ProcessSingleton will assume current process is quitting, we should met its expectation.
This commit is contained in:
parent
ca876e424b
commit
e14fd62f46
3 changed files with 16 additions and 6 deletions
|
@ -130,6 +130,7 @@ class Browser : public WindowListObserver {
|
|||
observers_.RemoveObserver(obs);
|
||||
}
|
||||
|
||||
bool is_shutting_down() const { return is_shutdown_; }
|
||||
bool is_quiting() const { return is_quiting_; }
|
||||
bool is_ready() const { return is_ready_; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue