We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a90acc4 commit fb82b6fCopy full SHA for fb82b6f
src/runtime/panic.go
@@ -614,6 +614,8 @@ func deferreturn() {
614
// without func main returning. Since func main has not returned,
615
// the program continues execution of other goroutines.
616
// If all other goroutines exit, the program crashes.
617
+//
618
+// It crashes if called from a thread created by a not Go runtime.
619
func Goexit() {
620
// Create a panic object for Goexit, so we can recognize when it might be
621
// bypassed by a recover().
0 commit comments