diff options
author | 2018-04-30 22:16:27 -0700 | |
---|---|---|
committer | 2018-04-30 22:18:01 -0700 | |
commit | 452515cb286bb16a066b78584692dabe00316687 (patch) | |
tree | 1711c9fc8f1769020eb56192dc0ffad37d8cfb21 /src/main/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecWithStore.java | |
parent | 46706aef724c69016d9eae914cbe7a96349442c2 (diff) |
Wire up future to wait for in NestedSetCodecWithStore.
PiperOrigin-RevId: 194895469
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecWithStore.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecWithStore.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecWithStore.java b/src/main/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecWithStore.java index 285bd6f230..030b0a3332 100644 --- a/src/main/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecWithStore.java +++ b/src/main/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecWithStore.java @@ -73,6 +73,7 @@ public class NestedSetCodecWithStore<T> implements ObjectCodec<NestedSet<T>> { context.serialize(NestedSetSize.GROUP, codedOut); FingerprintComputationResult fingerprintComputationResult = nestedSetStore.computeFingerprintAndStore((Object[]) obj.rawChildren(), context); + context.addFutureToBlockWritingOn(fingerprintComputationResult.writeStatus()); codedOut.writeByteArrayNoTag(fingerprintComputationResult.fingerprint().toByteArray()); } } |