diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-05-08 06:34:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 06:34:42 +0100 |
commit | 5e6c72d39fc6bf809a71e4074e7d6f516d18486a (patch) | |
tree | ab0c15c01c4b73acf0ef49fa3a572f7c700709f8 /cli/lsp/diagnostics.rs | |
parent | 5379bb0289faaf39df9d3ce8e02c1d2f631e2696 (diff) |
refactor(lsp): cleanup partially locking methods (#23723)
Diffstat (limited to 'cli/lsp/diagnostics.rs')
-rw-r--r-- | cli/lsp/diagnostics.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs index 1825a97a4..ebd6338cd 100644 --- a/cli/lsp/diagnostics.rs +++ b/cli/lsp/diagnostics.rs @@ -155,7 +155,6 @@ impl DiagnosticsPublisher { .update(&record.specifier, version, &all_specifier_diagnostics); self .client - .when_outside_lsp_lock() .publish_diagnostics( url_map .normalize_specifier(&record.specifier) @@ -186,7 +185,6 @@ impl DiagnosticsPublisher { self.state.update(specifier, removed_value.version, &[]); self .client - .when_outside_lsp_lock() .publish_diagnostics( url_map .normalize_specifier(specifier) |