File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
sentry-android-core/src/main/java/io/sentry/android/core Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,13 @@ final class AndroidTransactionProfiler implements ITransactionProfiler {
4040 private final @ NotNull AtomicBoolean isRunning = new AtomicBoolean (false );
4141 private final @ NotNull SentryFrameMetricsCollector frameMetricsCollector ;
4242 private @ Nullable ProfilingTransactionData currentProfilingTransactionData ;
43+
44+ /**
45+ * The underlying profiler instance. It is thread safe to call it after checking if it's not null,
46+ * because we never nullify it after instantiation.
47+ */
4348 private volatile @ Nullable AndroidProfiler profiler = null ;
49+
4450 private long profileStartNanos ;
4551 private long profileStartCpuMillis ;
4652 private @ NotNull Date profileStartTimestamp ;
You can’t perform that action at this time.
0 commit comments