Skip to content

Commit

Permalink
Fix fake_upstream for tsan (#34652)
Browse files Browse the repository at this point in the history
Signed-off-by: Raven Black <ravenblack@dropbox.com>
  • Loading branch information
ravenblackx authored Jun 11, 2024
1 parent ebcc0fc commit 59f4370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/fake_upstream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void FakeStream::encodeHeaders(const Http::HeaderMap& headers, bool end_stream)
}
}

postToConnectionThread([this, headers_copy, end_stream]() -> void {
postToConnectionThread([this, headers_copy = std::move(headers_copy), end_stream]() -> void {
{
absl::MutexLock lock(&lock_);
if (!parent_.connected() || saw_reset_) {
Expand Down

0 comments on commit 59f4370

Please sign in to comment.