catching another exception at deleting dir paths
This commit is contained in:
parent
70ef61e0ac
commit
9433184d6b
1 changed files with 4 additions and 1 deletions
|
@ -632,7 +632,10 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
||||||
|
|
||||||
private fun deleteDBDirectory() {
|
private fun deleteDBDirectory() {
|
||||||
ensureBackgroundThread {
|
ensureBackgroundThread {
|
||||||
|
try {
|
||||||
mDirectoryDao.deleteDirPath(mPath)
|
mDirectoryDao.deleteDirPath(mPath)
|
||||||
|
} catch (ignored: Exception) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue