aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 0909d138ff..c4db86225d 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -4321,9 +4321,6 @@ func gdestroy(gp *g) {
if locked && mp.lockedInt != 0 {
print("runtime: mp.lockedInt = ", mp.lockedInt, "\n")
- if mp.isextra {
- throw("runtime.Goexit called in a thread that was not created by the Go runtime")
- }
throw("exited a goroutine internally locked to the OS thread")
}
gfput(pp, gp)