Settings editor - ObjectTree is already disposable
parent
da732ab07c
commit
392373943f
|
@ -1343,8 +1343,6 @@ class NonCollapsibleObjectTreeModel<T> extends ObjectTreeModel<T> {
|
|||
}
|
||||
|
||||
export class SettingsTree extends ObjectTree<SettingsTreeElement> {
|
||||
protected disposables: IDisposable[];
|
||||
|
||||
constructor(
|
||||
container: HTMLElement,
|
||||
viewState: ISettingsEditorViewState,
|
||||
|
@ -1439,10 +1437,6 @@ export class SettingsTree extends ObjectTree<SettingsTreeElement> {
|
|||
protected createModel(view: ISpliceable<ITreeNode<SettingsTreeGroupChild>>, options: IObjectTreeOptions<SettingsTreeGroupChild>): ITreeModel<SettingsTreeGroupChild | null, void, SettingsTreeGroupChild | null> {
|
||||
return new NonCollapsibleObjectTreeModel<SettingsTreeGroupChild>(view, options);
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
this.disposables = dispose(this.disposables);
|
||||
}
|
||||
}
|
||||
|
||||
class CopySettingIdAction extends Action {
|
||||
|
|
Loading…
Reference in New Issue