mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
wait for 1sec for editors to be synchronized, #2217
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user