fix #91536
This commit is contained in:
parent
265487690a
commit
e59cb58ccc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue