mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
MessageLoop::QuitWhenIdleClosure -> RunLoop::QuitCurrentWhenIdleClosureDeprecated
This commit is contained in:
committed by
Aleksei Kuzmin
parent
e6da87b864
commit
f0da5bce80
@@ -92,7 +92,7 @@ void Browser::Shutdown() {
|
||||
|
||||
if (base::ThreadTaskRunnerHandle::IsSet()) {
|
||||
base::ThreadTaskRunnerHandle::Get()->PostTask(
|
||||
FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
|
||||
FROM_HERE, base::RunLoop::QuitCurrentWhenIdleClosureDeprecated());
|
||||
} else {
|
||||
// There is no message loop available so we are in early stage.
|
||||
exit(0);
|
||||
|
||||
Reference in New Issue
Block a user