| Index: remoting/base/auto_thread.cc
|
| diff --git a/remoting/base/auto_thread.cc b/remoting/base/auto_thread.cc
|
| index 828ece45c54499c73fe39b6d6957dbfc31befd5b..b0c6268a4f0f002be53fa1cc99c350e129c767ce 100644
|
| --- a/remoting/base/auto_thread.cc
|
| +++ b/remoting/base/auto_thread.cc
|
| @@ -164,7 +164,7 @@ void AutoThread::QuitThread(
|
| return;
|
| }
|
|
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| was_quit_properly_ = true;
|
|
|
| if (joiner_.get()) {
|
| @@ -207,7 +207,7 @@ void AutoThread::ThreadMain() {
|
|
|
| message_loop.Run();
|
|
|
| - // Assert that MessageLoop::Quit was called by AutoThread::QuitThread.
|
| + // Assert that MessageLoop::QuitWhenIdle was called by AutoThread::QuitThread.
|
| DCHECK(was_quit_properly_);
|
| }
|
|
|
|
|