commit | b56e743f043cb28aaca4ee624c0d767f0d4771c1 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Thu Sep 17 11:40:42 2020 -0700 |
committer | jiabin <jiabin@google.com> | Thu Sep 17 11:40:42 2020 -0700 |
tree | 99d4e3f32e584ac8da112ccad95bb3e885d45a0b | |
parent | fd90fdfe2a611ae824a32e236da288b1fdfd445d [diff] |
Release AudioTrackCallback when the track is removed. The AudioTrackCallback is cached as a strong pointer in PlaybackThread. Remove the callback when the corresponding track is removed to avoid memory leak. Bug: 168675247 Test: repo steps in the bug Change-Id: I09d78ca31c43db4d017f9e8c540628bcb6c44727