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

bugfix: memory leak on windows #655

Merged
merged 2 commits into from
Sep 14, 2023
Merged

Conversation

allenz92
Copy link
Contributor

related issue #621

defer func(srv *mgr.Service) {
err := srv.Close()
if err != nil {
fmt.Printf("Close srv error: %s", err)
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里替换成log.Printf("E! Close srv error: %s", err)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK

@kongfei605
Copy link
Collaborator

Thank you @allenz92

@kongfei605 kongfei605 merged commit a73a1c6 into flashcatcloud:main Sep 14, 2023
kongfei605 added a commit to kongfei605/categraf that referenced this pull request Sep 15, 2023
@kongfei605 kongfei605 mentioned this pull request Sep 15, 2023
kongfei605 added a commit that referenced this pull request Sep 15, 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