undo this change

This commit is contained in:
Antonio Cuni
2023-10-05 15:14:40 +02:00
parent eaf4da7c21
commit 90b3825369

View File

@@ -145,8 +145,7 @@ for (const [TYPE, interpreter] of TYPES) {
errors.set(element, error);
},
...workerHooks,
async onWorkerReady(_, xworker) {
await plugins; // workaround for a polyscript bug
onWorkerReady(_, xworker) {
assign(xworker.sync, sync);
for (const callback of hooks.onWorkerReady)
callback(_, xworker);