It looks like VS Code is trying to send us a didOpen, which is cause by our protocolFilter, before returning from languageClient.start (before we've set this.innerLanguageClient).
This moves the code that depends on this.innerLanguageClient to after that is set.
Fixes: https://github.com/microsoft/vscode-cpptools/issues/12954
It looks like VS Code is trying to send us a
didOpen
, which is cause by our protocolFilter, before returning fromlanguageClient.start
(before we've setthis.innerLanguageClient
).This moves the code that depends on
this.innerLanguageClient
to after that is set.