| Index: remoting/host/remoting_me2me_host.cc
|
| diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
|
| index 86bcc054eff2acd8b18738d36837006d1b83d8df..a4a5bc3b874f5948f8681f717f73f6a6fd0ba3e7 100644
|
| --- a/remoting/host/remoting_me2me_host.cc
|
| +++ b/remoting/host/remoting_me2me_host.cc
|
| @@ -1628,9 +1628,9 @@ int HostProcessMain() {
|
|
|
| // Create the main message loop and start helper threads.
|
| base::MessageLoopForUI message_loop;
|
| - scoped_ptr<ChromotingHostContext> context =
|
| - ChromotingHostContext::Create(new AutoThreadTaskRunner(
|
| - message_loop.task_runner(), base::MessageLoop::QuitClosure()));
|
| + scoped_ptr<ChromotingHostContext> context = ChromotingHostContext::Create(
|
| + new AutoThreadTaskRunner(message_loop.task_runner(),
|
| + base::MessageLoop::QuitWhenIdleClosure()));
|
| if (!context)
|
| return kInitializationFailed;
|
|
|
|
|