-
-
Notifications
You must be signed in to change notification settings - Fork 461
Avoid forking rootScopes for Reactor if current thread has NoOpScopes
#4793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 3 commits
3f30abe
062cfee
0914cbd
a29d0f2
0792d93
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| # Changelog | ||
|
|
||
| ## Unreleased | ||
| ## 8.23.1-alpha.1 | ||
|
|
||
| ### Fixes | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -112,6 +112,12 @@ private Sentry() {} | |
| return scopes; | ||
| } | ||
|
|
||
| @ApiStatus.Internal | ||
| public static boolean hasScopes() { | ||
|
||
| final @Nullable IScopes scopes = getScopesStorage().get(); | ||
| return scopes != null && !scopes.isNoOp(); | ||
| } | ||
adinauer marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| private static @NotNull IScopesStorage getScopesStorage() { | ||
| return scopesStorage; | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.