mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -07:00
b8469989bc
While writing the fake editor, I added some state tracking without using it (log messages, events etc). We have since duplicated this logic in the regtest package using client hooks. Fix two messy aspects of this: - remove the state tracking in the editor - pass in the client hooks when connecting, so that they may be used without locking, and so that we do not miss any hooks that may fire during session initialization. Change-Id: I24c17a28e9cfa4fca32b7ddd17c7bf01cbb12e0f Reviewed-on: https://go-review.googlesource.com/c/tools/+/232744 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
testenv | ||
tool | ||
xcontext |