| Index: mojo/shell/run.cc
|
| diff --git a/mojo/shell/run.cc b/mojo/shell/run.cc
|
| index 0271e718eca10e5b8ebb50d09cb55ecfedf3f90a..a7c3f337f25ef5c028c00f63317c743e73a1a0fc 100644
|
| --- a/mojo/shell/run.cc
|
| +++ b/mojo/shell/run.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/command_line.h"
|
| #include "base/logging.h"
|
| +#include "base/message_loop/message_loop.h"
|
| #include "mojo/shell/app_container.h"
|
| #include "mojo/shell/switches.h"
|
| #include "url/gurl.h"
|
| @@ -17,6 +18,7 @@ void Run(Context* context) {
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| if (!command_line.HasSwitch(switches::kApp)) {
|
| LOG(ERROR) << "No app path specified.";
|
| + base::MessageLoop::current()->Quit();
|
| return;
|
| }
|
|
|
|
|