fix: fixing main thread lock

This commit is contained in:
Hydra
2024-05-03 23:00:53 +01:00
parent 1eb963679e
commit e1955e11f5
8 changed files with 1132 additions and 1107 deletions

View File

@@ -52,8 +52,7 @@ const getXatabRepack = (url: string) => {
worker.removeListener("message", onMessage);
};
worker.on("message", onMessage);
worker.postMessage($downloadButton.href);
worker.once("message", onMessage);
})();
});
};