| Index: base/threading/sequenced_worker_pool.cc
|
| diff --git a/base/threading/sequenced_worker_pool.cc b/base/threading/sequenced_worker_pool.cc
|
| index c179a039f2f7e1877a530ed4d67e24f75635a47c..d856c3a70b7cbc9c2e0e20908de519b3d0d1ce97 100644
|
| --- a/base/threading/sequenced_worker_pool.cc
|
| +++ b/base/threading/sequenced_worker_pool.cc
|
| @@ -924,11 +924,12 @@ void SequencedWorkerPool::Inner::Shutdown(
|
| return;
|
| shutdown_called_ = true;
|
|
|
| + max_blocking_tasks_after_shutdown_ = max_new_blocking_tasks_after_shutdown;
|
| +
|
| if (subtle::NoBarrier_Load(&g_all_pools_state) !=
|
| - AllPoolsState::WORKER_CREATED)
|
| + AllPoolsState::WORKER_CREATED) {
|
| return;
|
| -
|
| - max_blocking_tasks_after_shutdown_ = max_new_blocking_tasks_after_shutdown;
|
| + }
|
|
|
| // Tickle the threads. This will wake up a waiting one so it will know that
|
| // it can exit, which in turn will wake up any other waiting ones.
|
|
|