mirror of
https://github.com/golang/go
synced 2024-11-19 00:54:42 -07:00
59731289e9
Include the context when invoking go/packages.Load so it is cancelable. Otherwise if the user is manually typing an import or otherwise messing around with imports, a big queue of potentially very slow go/packages.Load calls will build up. Fixes golang/go#34414. Change-Id: I80732086b478b908c720739708dd773e81fe2b81 Reviewed-on: https://go-review.googlesource.com/c/tools/+/200058 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
builtin.go | ||
cache.go | ||
check.go | ||
external.go | ||
file.go | ||
gofile.go | ||
load.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go | ||
watcher.go |