summaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/log_shuttle.cpp
diff options
context:
space:
mode:
authorYDBot <[email protected]>2026-07-04 01:07:32 +0000
committerYDBot <[email protected]>2026-07-04 01:07:32 +0000
commitf7dbea9c1bcabb15221e06721fc9b705ce4111fc (patch)
treeed5b4b6e96e99785597b2768f9c3e7291caca2f6 /library/cpp/lwtrace/log_shuttle.cpp
parent4902778678844cf89f27fde24c1403bd0c1aaadf (diff)
parent29831c0924cc2568ee528fe8af122b7dc03ece52 (diff)
Sync branches 260704-0105
Diffstat (limited to 'library/cpp/lwtrace/log_shuttle.cpp')
-rw-r--r--library/cpp/lwtrace/log_shuttle.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/cpp/lwtrace/log_shuttle.cpp b/library/cpp/lwtrace/log_shuttle.cpp
index 695aa90b316..a6563efb5b9 100644
--- a/library/cpp/lwtrace/log_shuttle.cpp
+++ b/library/cpp/lwtrace/log_shuttle.cpp
@@ -22,7 +22,9 @@ namespace NLWTrace {
template <class TDepot>
bool TLogShuttle<TDepot>::DoFork(TShuttlePtr& child) {
- if (child = Executor->RentShuttle()) {
+ if (auto shuttle = Executor->RentShuttle()) {
+ shuttle->SetNext(child);
+ child = shuttle;
child->SetParentSpanId(GetSpanId());
Executor->Cast(child)->SetIgnore(true);
TParams params;