commit | e55fda1373abad5ace4409453c51aeb0daaf99ef | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Thu Apr 28 12:59:33 2016 +0100 |
committer | Calin Juravle <calin@google.com> | Fri Apr 29 11:07:45 2016 +0000 |
tree | 65716ea1f97405109f7a40dc87a590f245ac9cfb | |
parent | 6caaa84947d5d207cde511978db327d95226e3ce [diff] |
Fix how the ProfileSaver thread attaches to the runtime. If the runtime is shutting down we can't attach new threads. In this case it is expected that Runtime::Attach returns nullptr. Also, lower the serverity of the log to warning so that it does not show up in the run-tests. Bug: 28435649 Change-Id: I208bcd6f0f7e35ae6471e263dee00d3ab68b3b8f