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

UnmarshalToCallback leak goroutine #236

Open
LeGamerDc opened this issue Feb 8, 2023 · 2 comments
Open

UnmarshalToCallback leak goroutine #236

LeGamerDc opened this issue Feb 8, 2023 · 2 comments

Comments

@LeGamerDc
Copy link

in UnmarshalToCallback the go func will try to send to cerr, while no one is doing recv (after chan c close for loop will end)

@LeGamerDc
Copy link
Author

make cerr buffered channel will solve it

@LeGamerDc
Copy link
Author

make cerr buffered channel will solve it

sorry ,can do that simple, err might be swallowed.

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

No branches or pull requests

1 participant