mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-11 15:22:05 +01:00
Fix local source being accidentally removed (#874)
This commit is contained in:
@@ -83,6 +83,8 @@ object GetCatalogueSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun unregisterAllCatalogueSources() {
|
fun unregisterAllCatalogueSources() {
|
||||||
sourceCache.clear()
|
(sourceCache - 0L).forEach { (id, _) ->
|
||||||
|
sourceCache.remove(id)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user