Skip to content

Commit 00f6035

Browse files
committed
Fix call to GOMAXPROCS.
1 parent f44b66d commit 00f6035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stack12.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ func putUintptrs(s []uintptr) {
2222
}
2323
}
2424

25-
var pcStackPool = make(chan []uintptr, runtime.GOMAXPROCS(n))
25+
var pcStackPool = make(chan []uintptr, runtime.GOMAXPROCS(0))

0 commit comments

Comments
 (0)