diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-03-15 10:34:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 14:34:23 +0000 |
commit | 7070b8ed50f13d95d926b19ed7d7ce9fc0d6d4f3 (patch) | |
tree | 1cba1972e1b7fcea1706a893984a3be12093cf1c /cli/lsp/testing | |
parent | 2ca160702795bb1b92196a848f7e4814d23ed32c (diff) |
fix(lsp): avoid calling client while holding lock (#18197)
Diffstat (limited to 'cli/lsp/testing')
-rw-r--r-- | cli/lsp/testing/server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/testing/server.rs b/cli/lsp/testing/server.rs index 66f66ed1d..61db4316a 100644 --- a/cli/lsp/testing/server.rs +++ b/cli/lsp/testing/server.rs @@ -156,7 +156,7 @@ impl TestServer { match run.exec(&client, maybe_root_uri.as_ref()).await { Ok(_) => (), Err(err) => { - client.show_message(lsp::MessageType::ERROR, err).await; + client.show_message(lsp::MessageType::ERROR, err); } } client.send_test_notification(TestingNotification::Progress( |