File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/browser/src/profiling Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export class UIProfiler implements ContinuousProfiler<Client> {
133133 return ;
134134 }
135135
136- this . _activeRootSpanIds . add ( spanId ) ;
136+ this . _registerTraceRootSpan ( spanId ) ;
137137
138138 const rootSpanCount = this . _activeRootSpanIds . size ;
139139
@@ -190,7 +190,7 @@ export class UIProfiler implements ContinuousProfiler<Client> {
190190 } ) ;
191191
192192 // Manual: Clear profiling context so spans outside start()/stop() aren't marked as profiled
193- // Trace: Profile context is kept as long as there is an active root span
193+ // Trace: Profile context is kept for the whole session duration
194194 if ( this . _lifecycleMode === 'manual' ) {
195195 getGlobalScope ( ) . setContext ( 'profile' , { } ) ;
196196 }
You can’t perform that action at this time.
0 commit comments