Skip to content

Commit 59b3b40

Browse files
dkwon17fbricon
authored andcommitted
Gracefully handle cancel 'xml/closeTag' requests
Signed-off-by: David Kwon <dakwon@redhat.com>
1 parent 6a24766 commit 59b3b40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tagClosing.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ export function activateTagClosing(tagProvider: (document: TextDocument, positio
9090
}
9191
}
9292
}
93+
}, (reason: any) => {
94+
console.log('xml/closeTag request has been cancelled');
9395
});
9496
timeout = void 0;
9597
}, 100);

0 commit comments

Comments
 (0)