-
Notifications
You must be signed in to change notification settings - Fork 599
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
goroutine leak #56
Comments
You're right that we do have a Close method, and that close method could stop the mill goroutine fairly trivially. I'll get that fix out sometime soon, or you're welcome to send in a PR :) |
one PR, please review it, Thanks |
Experiencing the same issue . Thanks @jaczhao for the solution. |
This was referenced Mar 15, 2019
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
millrun goroutine leak.
I use zap to wrap lumberjack, my code is following
when I do testing, I got the following error:
I tried to used Close() method, but it still failed.
I read source code and fount that nowhere to close the logger.millCh, so this goroutine will live forever.
The text was updated successfully, but these errors were encountered: