Chromium Code Reviews| Index: mandoline/services/core_services/core_services_application_delegate.cc |
| diff --git a/mandoline/services/core_services/core_services_application_delegate.cc b/mandoline/services/core_services/core_services_application_delegate.cc |
| index 0cf941bc42928fc62d11cd7b63757904aa7d3515..751407f2e8f9eee78008141b6ae88c22091be9bb 100644 |
| --- a/mandoline/services/core_services/core_services_application_delegate.cc |
| +++ b/mandoline/services/core_services/core_services_application_delegate.cc |
| @@ -70,6 +70,8 @@ class ApplicationThread : public base::Thread { |
| } |
| void RequestQuit() { |
| + if (!IsRunning()) |
| + return; |
| task_runner()->PostTask( |
| FROM_HERE, |
| base::Bind(&ApplicationThread::ShutdownCleanly, |