1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

HackStudio: Greet language servers asynchronously

There's no need to wait for a response after we've sent the project
path to a newly connected language server.
This commit is contained in:
Andreas Kling 2021-05-23 09:37:48 +02:00
parent 67b47d62f3
commit 0af69e8917
2 changed files with 2 additions and 2 deletions

View file

@ -34,11 +34,11 @@ public:
: IPC::ServerConnection<LanguageClientEndpoint, LanguageServerEndpoint>(*this, socket)
{
m_project_path = project_path;
async_greet(m_project_path);
}
virtual void handshake() override
{
greet(m_project_path);
}
WeakPtr<LanguageClient> language_client() { return m_current_language_client; }