Fix auto cache cleanup

This commit is contained in:
tom5079
2020-10-03 20:18:20 +09:00
parent 46d4316d49
commit a6ed0baef2
8 changed files with 66 additions and 63 deletions

View File

@@ -313,7 +313,7 @@ fun xyz.quaver.pupil.util.downloader.DownloadManager.migrate() {
)
synchronized(Cache) {
Cache.delete(galleryID)
Cache.delete(this@migrate, galleryID)
}
downloadFolderMap[galleryID] = folder.name