mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
commit
b7f50d8a33
|
|
@ -3,7 +3,6 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime"
|
||||
|
||||
"context"
|
||||
|
||||
|
|
@ -26,9 +25,6 @@ func _main() int {
|
|||
if pdebug.Enabled {
|
||||
pdebug.DefaultCtx.Writer = os.Stderr
|
||||
}
|
||||
if envvar := os.Getenv("GOMAXPROCS"); envvar == "" {
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
}
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue