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) cacheInfo.put(variantName, entry)
getCacheInfoFile().write(JsonOutput.prettyPrint(JsonOutput.toJson(cacheInfo))) getCacheInfoFile().write(JsonOutput.prettyPrint(JsonOutput.toJson(cacheInfo)))
} finally { } finally {
LOCK.writeLock().unlock()
} }
} }

Loading…
Cancel
Save