mirror of
https://github.com/golang/go
synced 2024-11-18 16:04:44 -07:00
63caf62cea
Gopls behavior on disconnection is currently somewhat undefined, because it hasn't mattered when there was a single gopls session per binary invocation. With golang/go#34111, this changes. Checks are added to ensure clients and sessions are cleaned up when an LSP connection closes. Also, normal client disconnection is differentiated with the jsonrpc2.ErrDisconnected value. Updates golang/go#34111 Change-Id: I74d48ad6dcfc30d11f7f751dcffb20c18a4cbaa3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/220519 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
autostart_posix.go | ||
autostart_windows.go | ||
lsprpc_test.go | ||
lsprpc.go | ||
telemetry.go |