提交 39237394 编写于 作者: R Rob Lourens

Settings editor - ObjectTree is already disposable

上级 da732ab0
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册