commit | 34b041f4102976e32de6ccc1570a31801dbfcb4a | [log] [tgz] |
---|---|---|
author | Rhed Jao <rhedjao@google.com> | Wed Mar 17 18:53:39 2021 +0800 |
committer | Rhed Jao <rhedjao@google.com> | Wed Mar 17 18:57:31 2021 +0800 |
tree | 132ea02ede6fe2ad5f75d3b96b98905fc1e03cf4 | |
parent | 3ce4a1b9a230eeebdf8ee8a27317ab9e8f86bb76 [diff] |
Fixes dumpstate crashed when shutdown the thread pool The future of the packaged_task should be cleared before we clear the packaged_task in the task queue. Bug: 182798355 Test: atest DumpPoolTest#ShutdownBeforeTasksFinished_withoutCrash Change-Id: I85e6aca67c61629d786f0586c6fe3d714f400233