Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/packages/vscode
Asher 03ad2a17b2 Handle disconnects (#363)
* Make proxies decide how to handle disconnects

* Connect to a new terminal instance on disconnect

* Use our retry for the watcher

* Specify method when proxy doesn't exist

* Don't error when closing/killing disconnected proxy

* Specify proxy ID when a method doesn't exist

* Use our retry for the searcher

Also dispose some things for the watcher because it doesn't seem that
was done properly.

The searcher also now starts immediately so there won't be lag when you
perform your first search.

* Use our retry for the extension host

* Emit error in parent proxy class

Reduces duplicate code. Not all items are "supposed" to have an error
event according to the original implementation we are filling, but there
is no reason why we can't emit our own events (and are already doing so
for the "disconnected" event anyway).

* Reconnect spdlog

* Add error message when shared process disconnects

* Pass method resolve to parse

* Don't pass method to getProxy

It doesn't tell you anything that trace logging wouldn't and has
no relation to what the function actually does.

* Fix infinite recursion when disposing protocol client in tests
2019-03-28 17:59:49 -05:00
..
src Handle disconnects (#363) 2019-03-28 17:59:49 -05:00
test Refactor evaluations (#285) 2019-03-26 13:01:25 -05:00
.gitignore Fix install from VSIX for TAR and ZIP formats (#245) 2019-03-21 14:04:09 -05:00
package.json Refactor evaluations (#285) 2019-03-26 13:01:25 -05:00
webpack.bootstrap.config.js Fix install from VSIX for TAR and ZIP formats (#245) 2019-03-21 14:04:09 -05:00
yarn.lock Refactor evaluations (#285) 2019-03-26 13:01:25 -05:00