Skip to content

Commit c5b3f59

Browse files
authored
Synchronise access to dependency-info (#22)
1 parent 1ac06bc commit c5b3f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/com/indoorvivants/vcpkg/VcpkgPluginImpl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ trait VcpkgPluginImpl {
3838

3939
val allActualDependencies = deps
4040
.flatMap { name =>
41-
val info = manager.dependencyInfo(name.name)
41+
val info = VcpkgPluginImpl.synchronized(manager.dependencyInfo(name.name))
4242
val transitive = info.allTransitive(name)
4343

4444
name +: transitive

0 commit comments

Comments
 (0)