Skip to content

Fix moving refactoring not working in standard mode#2506

Merged
testforstephen merged 2 commits intoredhat-developer:masterfrom
jdneo:cs/issue-2503
Jun 13, 2022
Merged

Fix moving refactoring not working in standard mode#2506
testforstephen merged 2 commits intoredhat-developer:masterfrom
jdneo:cs/issue-2503

Conversation

@jdneo
Copy link
Copy Markdown
Collaborator

@jdneo jdneo commented Jun 13, 2022

fix #2503

Did some refactoring for each language client's stop() method. They still do the real stop stuff as the method name suggests, and the returned promise can be combined in the deactivated() function via Promise.all

Signed-off-by: sheche sheche@microsoft.com

- return the 'stop()' promise in each 'xxxClient.stop()' method.
- return 'Promise.all()' in 'deactivate()'

Signed-off-by: sheche <sheche@microsoft.com>
Comment thread src/standardLanguageClient.ts
Signed-off-by: sheche <sheche@microsoft.com>
@testforstephen testforstephen merged commit 9b6046e into redhat-developer:master Jun 13, 2022
@jdneo jdneo deleted the cs/issue-2503 branch June 13, 2022 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read properties of undefined (reading 'stop')

2 participants