pull/653/merge
Varun Patil 2023-10-01 19:17:05 -07:00
parent 4e90123814
commit a612b02dfa
1 changed files with 2 additions and 4 deletions

View File

@ -63,12 +63,10 @@ import java.util.concurrent.CountDownLatch
} }
fun destroy() { fun destroy() {
if (imageObserver != null) { if (imageObserver != null)
mCtx.contentResolver.unregisterContentObserver(imageObserver!!) mCtx.contentResolver.unregisterContentObserver(imageObserver!!)
} if (videoObserver != null)
if (videoObserver != null) {
mCtx.contentResolver.unregisterContentObserver(videoObserver!!) mCtx.contentResolver.unregisterContentObserver(videoObserver!!)
}
} }
fun registerHooks() { fun registerHooks() {