Skip to content

Commit

Permalink
fix #91536
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Feb 26, 2020
1 parent 2654876 commit e59cb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/editor/contrib/links/getLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export class LinksList extends Disposable {
const newLinks = list.links.map(link => new Link(link, provider));
links = LinksList._union(links, newLinks);
// register disposables
if (isDisposable(provider)) {
this._register(provider);
if (isDisposable(list)) {
this._register(list);
}
}
this.links = links;
Expand Down

0 comments on commit e59cb58

Please sign in to comment.