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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Lock global options whenever they are accessed #333

Merged
merged 7 commits into from
Jul 23, 2020

Commits on Jul 22, 2020

  1. fix: Lock global options whenever they are accessed

    This also changes the DSN to a heap allocated, refcounted type since
    the http worker thread needs to hold onto its own reference.
    Swatinem committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    7e81099 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71373a6 View commit details
    Browse the repository at this point in the history
  3. rework options and send logic

    this now decouples preparing an event, which also removes the need for a special breakpad transport and mutating the global transport. Also the crashed session is now attached to the crashed envelope, and has a correct errors count
    
    options are now refcounted internally instead of taking locks for long times. the user consent is now done as an atomic operation.
    Swatinem committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    53f21af View commit details
    Browse the repository at this point in the history
  4. unbreak breakpad

    Swatinem committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    4b2cbfa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85b8186 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2020

  1. review

    Swatinem committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    c375f0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4af8150 View commit details
    Browse the repository at this point in the history