提交 f86c0f9a 编写于 作者: S Sandeep Somavarapu

Remove the handle from the system when handle changes

上级 c66517cf
......@@ -254,7 +254,10 @@ class ExtHostTreeView<T> extends Disposable {
// Update parent node
if (node) {
if (node.handle !== handle) {
// Remove the old handle from the system
this.elements.delete(node.handle);
childrenHandles[childrenHandles.indexOf(node.handle)] = handle;
this.clearChildren(element);
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册