提交 90ec9034 编写于 作者: J Joao Moreno

fixes #1385

上级 0d2e1463
......@@ -224,6 +224,10 @@ class DirtyDiffModelDecorator {
}
private triggerDiff(): winjs.Promise {
if (!this.diffDelayer) {
return winjs.Promise.as(null);
}
return this.diffDelayer.trigger(() => {
if (!this.model || this.model.isDisposed()) {
return winjs.Promise.as([]); // disposed
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册