Only cleanup if we are the main process
This commit is contained in:
parent
a160891a27
commit
658a9872fb
1 changed files with 4 additions and 1 deletions
|
@ -149,8 +149,11 @@ void Browser::NotifyAndShutdown() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process_notify_callback_set_) {
|
if (process_notify_callback_set_) {
|
||||||
process_singleton_->Cleanup();
|
|
||||||
process_notify_callback_.Reset();
|
process_notify_callback_.Reset();
|
||||||
|
|
||||||
|
if (process_notify_result_ == ProcessSingleton::PROCESS_NONE) {
|
||||||
|
process_singleton_->Cleanup();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Shutdown();
|
Shutdown();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue