- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for closeBuilders (0.1 sec)
-
src/cmd/go/internal/work/init.go
"sync" ) var buildInitStarted = false func BuildInit() { if buildInitStarted { base.Fatalf("go: internal error: work.BuildInit called more than once") } buildInitStarted = true base.AtExit(closeBuilders) modload.Init() instrumentInit() buildModeInit() if err := fsys.Init(base.Cwd()); err != nil { base.Fatal(err) } // Make sure -pkgdir is absolute, because we run commands
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 19:13:34 UTC 2023 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/work/action.go
} if !cfg.BuildWork { if err := robustio.RemoveAll(b.WorkDir); err != nil { return err } } b.WorkDir = "" return nil } func closeBuilders() { leakedBuilders := 0 builderWorkDirs.Range(func(bi, _ any) bool { leakedBuilders++ if err := bi.(*Builder).Close(); err != nil { base.Error(err) } return true })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0)