diff options
| author | 2020-10-21 12:29:02 +0000 | |
|---|---|---|
| committer | 2020-10-21 12:29:02 +0000 | |
| commit | d85153fc51665d5ada20daaea8fadfa7a83635fc (patch) | |
| tree | c738cb80cf8d62b9f89970659557b01c53f80f44 /cmds/dumpstate/DumpPool.cpp | |
| parent | e379d98cd2132cd5af97f86e21fe8a0119b7239d (diff) | |
| parent | a6b7489ded4da69dbbcb158ecbf083151c8420c3 (diff) | |
Deletes temporary files from thread pool when report is cancel am: e96bcd52a0 am: a6b7489ded
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1441349
Change-Id: I8eabe80d14759e480350b6c226669ecbfa6efde0
Diffstat (limited to 'cmds/dumpstate/DumpPool.cpp')
| -rw-r--r-- | cmds/dumpstate/DumpPool.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/dumpstate/DumpPool.cpp b/cmds/dumpstate/DumpPool.cpp index e174c8eff3..e15ac3fe82 100644 --- a/cmds/dumpstate/DumpPool.cpp +++ b/cmds/dumpstate/DumpPool.cpp @@ -100,6 +100,10 @@ void DumpPool::waitForTask(const std::string& task_name, const std::string& titl } } +void DumpPool::deleteTempFiles() { + deleteTempFiles(tmp_root_); +} + void DumpPool::setLogDuration(bool log_duration) { log_duration_ = log_duration; } |