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 Panic when close traceDispatcher #1027

Merged
merged 5 commits into from
Apr 6, 2023
Merged

Conversation

wenxuwan
Copy link
Member

@wenxuwan wenxuwan commented Apr 4, 2023

What is the purpose of the change

When traceDispatcher executes the start operation, it will start a separate goroutine to initialize the ticker and perform the process operation. If the user performs the Close operation before the ticker is initialized, it will cause a panic.

image

We should start optimizing the ticker of the traceDispatcher before executing the process operation

@wenxuwan wenxuwan changed the title seperate interface and implement fix Panic when close traceDispatcher Apr 4, 2023
@wenxuwan wenxuwan marked this pull request as ready for review April 4, 2023 09:01
@ShannonDing ShannonDing merged commit 7ae788d into apache:master Apr 6, 2023
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