File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sentry-android-core/src/main/java/io/sentry/android/core Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ private void createAndStartTransactionProfiler(
204204 return ;
205205 }
206206
207+ final @ NotNull SentryExecutorService executorService = new SentryExecutorService ();
207208 final @ NotNull ITransactionProfiler appStartProfiler =
208209 new AndroidTransactionProfiler (
209210 context ,
@@ -213,7 +214,7 @@ private void createAndStartTransactionProfiler(
213214 profilingOptions .getProfilingTracesDirPath (),
214215 profilingOptions .isProfilingEnabled (),
215216 profilingOptions .getProfilingTracesHz (),
216- new SentryExecutorService () );
217+ () -> executorService );
217218 appStartMetrics .setAppStartContinuousProfiler (null );
218219 appStartMetrics .setAppStartProfiler (appStartProfiler );
219220 logger .log (SentryLevel .DEBUG , "App start profiling started." );
You can’t perform that action at this time.
0 commit comments