Skip to content
Snippets Groups Projects
Commit 1588c958 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Duncan McNamara
Browse files

Fix memory leak on the mini visualizer animation

parent 6ba2ce4b
No related branches found
No related tags found
1 merge request!1792Fix memory leak
......@@ -152,6 +152,7 @@ class PlaylistAdapter(private val player: IPlayer) : DiffUtilAdapter<MediaWrappe
override fun onDetachedFromRecyclerView(recyclerView: RecyclerView) {
super.onDetachedFromRecyclerView(recyclerView)
marqueeScheduler?.cancelAction("")
currentPlayingVisu?.stop()
currentPlayingVisu = null
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment