Skip to content

Commit 1086733

Browse files
bors[bot]Veetaha
andauthored
Merge #3665
3665: vscode: remove unnecessary code r=matklad a=Veetaha 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. Co-authored-by: Veetaha <veetaha2@gmail.com>
2 parents 92b561b + 95b5129 commit 1086733

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)