catching another exception at deleting dir paths

This commit is contained in:
tibbi 2019-08-10 20:03:55 +02:00
parent 70ef61e0ac
commit 9433184d6b
1 changed files with 4 additions and 1 deletions

View File

@ -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) {
}
} }
} }