提交 ef6641c0 编写于 作者: J Johannes Rieken

wait for 1sec for editors to be synchronized, #2217

上级 a3fcd611
......@@ -94,7 +94,7 @@ export class ExtHostEditors {
if (editor) {
return editor;
} else {
throw new Error('Failed to create editor.');
throw new Error('Failed to create editor with id: ' + id);
}
});
}
......@@ -631,7 +631,7 @@ export class MainThreadEditors {
});
handle = setTimeout(() => {
contd();
}, 250);
}, 1000);
}).then(() => {
// find the editor we have just opened and return the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册