commit | 2fe718b88ebc7e9f10e1195591dd62ae9e26ed8d | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Mon May 14 12:28:32 2018 -0700 |
committer | Phil Burk <philburk@google.com> | Tue May 15 12:17:04 2018 -0700 |
tree | de5712270006a8db8c1cdf2ba70253bffc789c4c | |
parent | 1267e887bd9d38e2785b601e872a26acf0ec17f9 [diff] |
aaudio: fix possible race condition in close() Move increment and decrement of reference count under the same lock used for finding the stream. Bug: 79693915 Test: run CTS tests Change-Id: I206eb09724a81f2d79a03fa756adbcbb8abf5efa