提交 72c97549 编写于 作者: J Joao Moreno

fixes #6009

上级 d4761cba
...@@ -391,6 +391,10 @@ export class Item extends Events.EventEmitter { ...@@ -391,6 +391,10 @@ export class Item extends Events.EventEmitter {
} }
const result = childrenPromise.then((elements: any[]) => { const result = childrenPromise.then((elements: any[]) => {
if (this.isDisposed()) {
return WinJS.TPromise.as(null);
}
elements = !elements ? [] : elements.slice(0); elements = !elements ? [] : elements.slice(0);
elements = this.sort(elements); elements = this.sort(elements);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册