We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e047a8 commit 7b7fd9eCopy full SHA for 7b7fd9e
1 file changed
sentry/src/main/java/io/sentry/util/InitUtil.java
@@ -108,12 +108,14 @@ public static IProfileConverter initializeProfileConverter(@NotNull SentryOption
108
}
109
110
private static boolean shouldInitializeProfiler(@NotNull SentryOptions options) {
111
- return options.isContinuousProfilingEnabled()
+ return Platform.isJvm()
112
+ && options.isContinuousProfilingEnabled()
113
&& options.getContinuousProfiler() instanceof NoOpContinuousProfiler;
114
115
116
private static boolean shouldInitializeProfileConverter(@NotNull SentryOptions options) {
117
118
119
&& options.getProfilerConverter() instanceof NoOpProfileConverter;
120
121
0 commit comments