1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

reporter: remove sleeps

This commit is contained in:
V 2023-11-25 01:51:50 +01:00 committed by Luna
parent b715324333
commit ad489b832b

View file

@ -338,8 +338,6 @@ function runTime(token: string) {
.then(r => r.text())
.then(t => t.includes(".module.wasm") || !t.includes("(this.webpackChunkdiscord_app=this.webpackChunkdiscord_app||[]).push"));
await new Promise(r => setTimeout(r, 150));
if (isWasm) {
invalidChunks.push(id);
continue chunksLoop;
@ -371,8 +369,6 @@ function runTime(token: string) {
// Loads a chunk
if (!isWasm) await wreq.e(id as any);
await new Promise(r => setTimeout(r, 150));
}
// Make sure every chunk has finished loading