Exoplayer: PlaybackControlView leaks itself and anything it refers to (including the player instance)

Created on 7 Oct 2016  路  3Comments  路  Source: google/ExoPlayer

This is demonstrated by the app here:
https://github.com/PerkmannM/Demo-ExoPlayer

bug

Most helpful comment

Would be awesome to see a new release soon! :)

All 3 comments

Notes:

  • The leak is much less severe if you upgrade to ExoPlayer r2.0.2 (it's still there though).
  • Until we fix this, you can easily work around the problem, or at least mitigate it, by explicitly clearing the player from the view when it's no longer required, like: mPlaybackControlView.setPlayer(null); (for example on onStop).

Thank you for fixing this issue!

When do you plan to release this version?

Would be awesome to see a new release soon! :)

Was this page helpful?
0 / 5 - 0 ratings