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>
This commit is contained in:
bors[bot] 2020-03-21 05:17:14 +00:00 committed by GitHub
commit 10867336e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,8 +134,6 @@ class HintsUpdater implements Disposable {
// No text documents changed, so we may try to use the cache
if (!file.cachedDecorations) {
file.inlaysRequest?.cancel();
const hints = await this.fetchHints(file);
if (!hints) return;