-
Notifications
You must be signed in to change notification settings - Fork 343
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
Timeout prevents application exit #11
Comments
Also experiencing this. @onitake did you ever trace or confirm that |
I didn't; for my use case, I opted for a simpler approach with an exec of |
I had a similar problem, the following change seems to fix it:
|
I tried jmunsin's fix and con confirm it has the desired results |
I can confirm this problem also. Nearly impossible to make a program exit once ping has been Run. |
@jmunsin Can you turn this into a PR and submit it? |
Thank you for the report. The library was erronously previously capturing the ctrl-C signal. This was fixed by #37 |
When sending an unsuccessful ping request, it is no longer possible to end an application in a proper fashion, i.e. Ctrl-C does not work. I suspect the timeout code does not end all goroutines properly.
Example code:
The text was updated successfully, but these errors were encountered: