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

Prevent execution of install_hook() hooks after disabling tracer #2016

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

bwoebi
Copy link
Collaborator

@bwoebi bwoebi commented Apr 14, 2023

Description

This led to crashes in combination with the database integrations, if database calls happened after the tracer was disabled.

Readiness checklist

  • (only for Members) Changelog has been added to the release document.
  • Tests added for this feature/bug.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.
  • Changelog has been added to the release document. For community contributors the reviewer is in charge of this task.

This led to crashes in combination with the database integrations, if database calls happened after the tracer was disabled.

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
@bwoebi bwoebi added this to the 0.87.0 milestone Apr 14, 2023
@bwoebi bwoebi requested a review from a team as a code owner April 14, 2023 11:12
Copy link
Contributor

@Anilm3 Anilm3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bwoebi bwoebi merged commit 00b3721 into master Apr 14, 2023
@bwoebi bwoebi deleted the bob/fix-disabled-tracer-install-hook branch April 14, 2023 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants