Commit 50dda20b authored by Geoffrey Métais's avatar Geoffrey Métais

Unregister ML callbacks before cancelling tasks

parent f56af830
......@@ -44,7 +44,7 @@ abstract class MedialibraryModel<T : MediaLibraryItem>(context: Context) : BaseM
}
override fun onCleared() {
super.onCleared()
medialibrary.removeOnMedialibraryReadyListener(this)
super.onCleared()
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment