Skip to content

Commit 95b5129

Browse files
authored
vscode: remove unnecessary code
This cancel is unnecessary since we cancel the previous inlay hints requests in `fetchHints()` method itself. This is not a hard error, we just called cancel() 2 times.
1 parent 92b561b commit 95b5129

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

editors/code/src/inlay_hints.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ class HintsUpdater implements Disposable {
134134

135135
// No text documents changed, so we may try to use the cache
136136
if (!file.cachedDecorations) {
137-
file.inlaysRequest?.cancel();
138-
139137
const hints = await this.fetchHints(file);
140138
if (!hints) return;
141139

0 commit comments

Comments
 (0)