Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make SentryScope.useSpan non-blocking #3568

Merged
merged 1 commit into from
Jan 24, 2024
Merged

fix: Make SentryScope.useSpan non-blocking #3568

merged 1 commit into from
Jan 24, 2024

Commits on Jan 23, 2024

  1. fix: Make SentryScope.useSpan non-blocking

    Instead of calling the callback of useSpan within the spanLock, get a
    local copy of the span and pass this to the callback. This way, when the
    callback is a blocking call, useSpan doesn't block other invocations of
    itself and prevents potential deadlocks.
    philipphofmann committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    70c017e View commit details
    Browse the repository at this point in the history