mirror of
https://github.com/golang/go
synced 2024-11-05 17:36:15 -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> |
||
---|---|---|
.. | ||
client.go | ||
doc.go | ||
edit_test.go | ||
edit.go | ||
editor_test.go | ||
editor.go | ||
proxy.go | ||
sandbox.go | ||
workdir_test.go | ||
workdir.go |