Browse Source

Release write lock after usage.

pull/198/head
weisj 4 years ago
parent
commit
a3874eafc4
  1. 2
      buildSrc/src/main/groovy/DownloadPrebuiltBinaryFromGitHubAction.groovy

2
buildSrc/src/main/groovy/DownloadPrebuiltBinaryFromGitHubAction.groovy

@ -148,7 +148,7 @@ class DownloadPrebuiltBinaryFromGitHubAction extends DefaultTask {
cacheInfo.put(variantName, entry)
getCacheInfoFile().write(JsonOutput.prettyPrint(JsonOutput.toJson(cacheInfo)))
} finally {
LOCK.writeLock().unlock()
}
}

Loading…
Cancel
Save