catching another exception at deleting dir paths
This commit is contained in:
parent
70ef61e0ac
commit
9433184d6b
|
@ -632,7 +632,10 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
||||||
|
|
||||||
private fun deleteDBDirectory() {
|
private fun deleteDBDirectory() {
|
||||||
ensureBackgroundThread {
|
ensureBackgroundThread {
|
||||||
mDirectoryDao.deleteDirPath(mPath)
|
try {
|
||||||
|
mDirectoryDao.deleteDirPath(mPath)
|
||||||
|
} catch (ignored: Exception) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue