mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Remove usage of non-standard setImmediate
This was broken after upgrading to webpack5
This commit is contained in:
@@ -49,9 +49,9 @@ function doAfterImagesLoaded(cb: () => void) {
|
||||
});
|
||||
}
|
||||
});
|
||||
Promise.all(ps).then(() => setImmediate(cb));
|
||||
Promise.all(ps).then(() => setTimeout(cb, 0));
|
||||
} else {
|
||||
setImmediate(cb);
|
||||
setTimeout(cb, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user