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