This commit is contained in:
Alex Dima 2018-04-11 13:47:41 +02:00
parent af6cc15110
commit 472ede0442

View file

@ -176,7 +176,9 @@ class Renderer implements IRenderer<ICompletionItem, ISuggestionTemplateData> {
}
disposeTemplate(templateData: ISuggestionTemplateData): void {
templateData.highlightedLabel.dispose();
if (templateData.highlightedLabel) {
templateData.highlightedLabel.dispose();
}
templateData.disposables = dispose(templateData.disposables);
}
}