Skip to content

Commit

Permalink
Don't perform cargo refresh when another IDE project become trusted
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad20012 committed Dec 24, 2021
1 parent debf72f commit 3cf753f
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -112,7 +112,9 @@ open class CargoProjectsServiceImpl(
if (isNewTrustedProjectApiAvailable) {
@Suppress("LeakingThis")
whenProjectTrusted(this) {
refreshAllProjects()
if (it == this.project) {
refreshAllProjects()
}
}
}
}
Expand Down

0 comments on commit 3cf753f

Please sign in to comment.