Fix local source being accidentally removed (#874)
This commit is contained in:
+3
-1
@@ -83,6 +83,8 @@ object GetCatalogueSource {
|
||||
}
|
||||
|
||||
fun unregisterAllCatalogueSources() {
|
||||
sourceCache.clear()
|
||||
(sourceCache - 0L).forEach { (id, _) ->
|
||||
sourceCache.remove(id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user