File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sentry/src/main/java/io/sentry/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,12 @@ public static IProfileConverter initializeProfileConverter(@NotNull SentryOption
108108 }
109109
110110 private static boolean shouldInitializeProfiler (@ NotNull SentryOptions options ) {
111- return options .isContinuousProfilingEnabled ()
111+ return Platform . isJvm () && options .isContinuousProfilingEnabled ()
112112 && options .getContinuousProfiler () instanceof NoOpContinuousProfiler ;
113113 }
114114
115115 private static boolean shouldInitializeProfileConverter (@ NotNull SentryOptions options ) {
116- return options .isContinuousProfilingEnabled ()
116+ return Platform . isJvm () && options .isContinuousProfilingEnabled ()
117117 && options .getProfilerConverter () instanceof NoOpProfileConverter ;
118118 }
119119
You can’t perform that action at this time.
0 commit comments