diff options
Diffstat (limited to 'src/runtime/debug.go')
| -rw-r--r-- | src/runtime/debug.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/debug.go b/src/runtime/debug.go index dacadd2721..56b766f11f 100644 --- a/src/runtime/debug.go +++ b/src/runtime/debug.go @@ -177,7 +177,7 @@ func totalMutexWaitTimeNanos() int64 { // NumGoroutine returns the number of goroutines that currently exist. func NumGoroutine() int { - return int(gcount()) + return int(gcount(false)) } //go:linkname debug_modinfo runtime/debug.modinfo |
