Skip to content

Commit

Permalink
Revert "fix #24435"
Browse files Browse the repository at this point in the history
This reverts commit f3ffc2e.
  • Loading branch information
jrieken committed May 11, 2017
1 parent e968d3c commit b9988fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/vs/workbench/electron-browser/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ const remote = electron.remote;
const ipc = electron.ipcRenderer;

process.lazyEnv = new Promise(function (resolve) {
const handle = setTimeout(function () {
resolve();
console.warn('renderer did not receive lazyEnv in time')
}, 2000);
ipc.once('vscode:acceptShellEnv', function (event, shellEnv) {
clearTimeout(handle);
assign(process.env, shellEnv);
resolve(process.env);
});
Expand Down

0 comments on commit b9988fe

Please sign in to comment.