-
Notifications
You must be signed in to change notification settings - Fork 208
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
Unable to terminate the program by sending a TERM signal to the main process #89
Comments
Update:
I found this function above in the code |
Also, I did an experiment and without any wrapping, with the default gin framework, when I call
I get an error as follows
Is this error normal and do I need to deal with it? ======
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context: I am using the Gin framework and have made some customizations to the framework. Here are some of the encapsulated structures.
After completing all the initialization, the service is started using the following code:
When using "overseer," I assign state.Listener to ss.Ln and then call ss.Engine.RunListener(ss.Ln) to start the service.
Problem: Currently, graceful restart is working fine. However, when I send a TERM signal to the program for a normal shutdown, it gets blocked and doesn't terminate.
---How can I resolve the above issues?
The text was updated successfully, but these errors were encountered: