File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
ydb/library/actors/wilson Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ namespace NWilson {
5252 }
5353
5454 void TSpan::Send () {
55- if (Data->ActorSystem != nullptr ) {
55+ if (Data->ActorSystem ) {
5656 Data->ActorSystem ->Send (new IEventHandle (MakeWilsonUploaderId (), {}, new TEvWilson (&Data->Span )));
5757 }
5858 Data->Sent = true ;
Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ namespace NWilson {
6464 , StartCycles(startCycles)
6565 , TraceId(std::move(traceId))
6666 , Flags(flags)
67- , ActorSystem(actorSystem != nullptr ? actorSystem : (NActors::TlsActivationContext ? NActors::TActivationContext::ActorSystem() : nullptr))
67+ , ActorSystem(actorSystem ? actorSystem : (NActors::TlsActivationContext ? NActors::TActivationContext::ActorSystem() : nullptr))
6868 {
69- Y_DEBUG_ABORT_UNLESS (ActorSystem != nullptr , " Attempting to create NWilson::TSpan outside of actor system without providing actorSystem pointer" );
69+ Y_DEBUG_ABORT_UNLESS (ActorSystem, " Attempting to create NWilson::TSpan outside of actor system without providing actorSystem pointer" );
7070 }
7171
7272 ~TData () {
You can’t perform that action at this time.
0 commit comments