Fixing missing clear on audio tracker listeners

This commit is contained in:
Maxime NATUREL 2022-07-28 16:51:11 +02:00
parent 09a91c4541
commit 8b8a4f3d7b

View File

@ -966,6 +966,7 @@ class TimelineFragment @Inject constructor(
override fun onDestroyView() {
audioMessagePlaybackTracker.makeAllPlaybacksIdle()
audioMessagePlaybackTracker.clear()
lazyLoadedViews.unBind()
timelineEventController.callback = null
timelineEventController.removeModelBuildListener(modelBuildListener)