Skip to content

Commit 7c157f4

Browse files
committed
Address review comments
1 parent 0d96c96 commit 7c157f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google/cloud/storage/internal/async/object_descriptor_impl.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ bool ObjectDescriptorImpl::IsResumable(
248248
CleanupDoneRanges(std::unique_lock<std::mutex>(mu_));
249249
return true;
250250
}
251+
std::unique_lock<std::mutex> lk(mu_);
251252
return streams_.back().resume_policy->OnFinish(status) ==
252253
storage_experimental::ResumePolicy::kContinue;
253254
}

0 commit comments

Comments
 (0)