-
Notifications
You must be signed in to change notification settings - Fork 3
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
Ability to filter reported channels #19
Conversation
} | ||
}() | ||
code := <-exit_chan | ||
os.Exit(code) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For long term plan I dont like this. When we will have multiple go routines this will be problematic for gracefull shutdown.
I think go routines should return error and in main()
we wait for error so we can initiate gracefull shutdown for other routines. So signal handling shoud be directly in main()
No description provided.