commit | 103fa6ed700f4efca4ccf17eeef3fef231ceb7b5 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Nov 09 17:18:05 2017 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Tue Nov 14 11:40:19 2017 +0000 |
tree | 6642f46c648c795bd3f6097e9503bbdba9f9a0fe | |
parent | f4580f43bcb74061ba8b7847ec65f2fe160f1751 [diff] |
ART: Destroy unprocessed tasks in TaskProcessor. In the past I've seen valgrind complain about leaked tasks in the TaskProcessor, so make sure we clean up properly. Also hold the mutex and condition variable directly in the object instead of allocating separate objects on the heap. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: If0d4ac39bf3d8e2aa9b465186d4fa7c3cb746718