mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
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 {
|
||||||
mDirectoryDao.deleteDirPath(mPath)
|
try {
|
||||||
|
mDirectoryDao.deleteDirPath(mPath)
|
||||||
|
} catch (ignored: Exception) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue