commit | 01d09d9e408b3b1c97f08cb317631d5b6e13d42f | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue Sep 18 12:38:57 2018 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Sep 18 12:39:53 2018 -0700 |
tree | 739ca993df57214891fa598a0fef9a53f5b14f25 | |
parent | bd9b5935fdbd67d3eaf124e3e80470b8cae1ecd1 [diff] |
audioflinger: Fix RefBase "exception" issue from FastThread Dummy NBLog::Writer in FastThread must not be stored by value because it's a RefBase descendant. Storing it by value causes a diagnostic output from ~RefBase because no strong references to it ever exist. In future this will cause a crash. Test: verify there are no "RefBase: Explicit destruction" messages in logcat Change-Id: I95716ec8e29fdd9485ef64a3334cef49bf29bc96