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: close cpu profile #1894

Open
wants to merge 1 commit into
base: release-next
Choose a base branch
from
Open

Conversation

testwill
Copy link

@testwill testwill commented Apr 4, 2024

No description provided.

@testwill testwill requested review from a team as code owners April 4, 2024 04:01
Copy link
Member

@plorenz plorenz left a comment

Choose a reason for hiding this comment

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

Hi @testwill thanks for the PR. Unfortunately, it doesn't look quite right. The file needs to stay open while the profiler is running. It should be closed in the Run method, after the StopCPUProfile method is called.

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
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