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
Loading
Please register or sign in to comment