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
runtime: Goexit doesn't crash the program #42505
Comments
Running the second program with
As far as I can tell that's nothing but system goroutines, so this does seem like a bug. |
This doesn't seem like a serious bug. Without the import of net/http, the program crashes with |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
case 1
case 2
What did you expect to see?
two cases produce the same, should crash
What did you see instead?
second case hangs forever
The text was updated successfully, but these errors were encountered: