-
Notifications
You must be signed in to change notification settings - Fork 127
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
Process not terminating #19
Comments
Difficult to say without seeing the code. Also not clear on what you're doing: are you CTRL-C'ing the server or the streaming client? |
Yes I am ctrl-cing it. I
Here is the code:
https://github.com/jirenius/resgate/blob/master/main.go
…On Sun, 22 Jul 2018, 00:05 Daniel Nichter, ***@***.***> wrote:
Difficult to say without seeing the code. Also not clear on what you're
doing: are you CTRL-C'ing the server or the streaming client?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#19 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ATuCwpmObVoYnR-WCgibM8NPp_CSLTeFks5uI6WpgaJpZM4VUc9l>
.
|
If you're CTRL-C'ing the server and it's not stopping, then it's most likely a bug in the server code. Without doing a full debug of that code, it looks like the issue would be in https://github.com/jirenius/resgate/blob/master/service/service.go#L110 or one of the functions it calls. I would debug and make sure https://github.com/jirenius/resgate/blob/master/main.go#L197 does, in fact, return and everything that should be stopped is stopped. |
It's been awhile, so I'll close this issue for now. If you find a reproducible bug, please re-open. Thanks! |
I am on Mac.
When I run the streaking example but calling my long running server ( a golang server ), and I use control c key my golang server is still hanging around..
??
Something in the example is missing for the streaking example ?
Or my golang server is not sending out the correct termination signals ?
The text was updated successfully, but these errors were encountered: