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

Remove type check from ThreadLocalContext#local. #1399

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

orekyuu
Copy link
Contributor

@orekyuu orekyuu commented Mar 9, 2021

Thread type checking is very incompatible with some debuggers.
For example, if you are using Debase, Thread will be replaced with Debase::DebugThread and the type check will fail.

I saw a commit with typecheck added, but I don't feel a strong intention to do it.
Do not remove this guard condition?

@orekyuu orekyuu requested a review from a team March 9, 2021 09:22
Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

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

Thank you, @orekyuu!
I agree that type-checking here is not required. 👍

@marcotc marcotc merged commit bd532b8 into DataDog:master Mar 9, 2021
@github-actions github-actions bot added this to the 0.47.0 milestone Mar 9, 2021
@marcotc marcotc added the core Involves Datadog core libraries label Mar 22, 2021
@marcotc
Copy link
Member

marcotc commented Mar 29, 2021

👋 @orekyuu, thank you again for your contribution! These changes have just been released in v0.47.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Involves Datadog core libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants