Skip to content
Snippets Groups Projects
Commit 50dda20b authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Unregister ML callbacks before cancelling tasks

parent f56af830
No related branches found
No related tags found
No related merge requests found
......@@ -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
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