fix: shutdown after message loop is ready (#16671)
This commit is contained in:
parent
ab503c7e43
commit
31c7ed9b8c
7 changed files with 14 additions and 38 deletions
|
@ -455,7 +455,7 @@ bool AtomBrowserMainParts::MainMessageLoopRun(int* result_code) {
|
|||
|
||||
void AtomBrowserMainParts::PreDefaultMainMessageLoopRun(
|
||||
base::OnceClosure quit_closure) {
|
||||
Browser::SetMainMessageLoopQuitClosure(std::move(quit_closure));
|
||||
Browser::Get()->SetMainMessageLoopQuitClosure(std::move(quit_closure));
|
||||
}
|
||||
|
||||
void AtomBrowserMainParts::PostMainMessageLoopStart() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue