Skip to content

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.

2 participants