mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-21 12:17:12 +03:00
fix ConcurrentHashMap crash
This commit is contained in:
parent
a34bc764b4
commit
b1f728e54a
1 changed files with 2 additions and 1 deletions
|
@ -342,8 +342,9 @@ class AnimeDownloadCache(
|
|||
sourceId?.let { it to SourceDirectory(dir) }
|
||||
}
|
||||
.toMap()
|
||||
.let { ConcurrentHashMap(it) }
|
||||
|
||||
rootDownloadsDir.sourceDirs = sourceDirs as ConcurrentHashMap<Long, SourceDirectory>
|
||||
rootDownloadsDir.sourceDirs = sourceDirs
|
||||
|
||||
sourceDirs.values
|
||||
.map { sourceDir ->
|
||||
|
|
Loading…
Reference in a new issue