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 5890e22 commit 2d48d2dCopy full SHA for 2d48d2d
src/sentry_core.c
@@ -163,9 +163,9 @@ sentry_init(sentry_options_t *options)
163
g_options = options;
164
165
// *after* setting the global options, trigger a scope and consent flush,
166
- // since at least crashpad needs that.
167
- // the only way to get a reference to the scope is by locking it, the macro
168
- // does all that at once, including invoking the backends scope flush hook
+ // since at least crashpad needs that. At this point we also freeze the
+ // `client_sdk` in the `scope` because some downstream SDKs want to override
+ // it at runtime via the options interface.
169
SENTRY_WITH_SCOPE_MUT (scope) {
170
if (options->sdk_name) {
171
sentry_value_t sdk_name
0 commit comments