Skip to content

Commit

Permalink
Fix local source being accidentally removed (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
Syer10 authored Feb 17, 2024
1 parent eb2054b commit ea6edae
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ object GetCatalogueSource {
}

fun unregisterAllCatalogueSources() {
sourceCache.clear()
(sourceCache - 0L).forEach { (id, _) ->
sourceCache.remove(id)
}
}
}

0 comments on commit ea6edae

Please sign in to comment.