Lazy web worker loader fixes

This commit is contained in:
Zef Hemel
2022-11-01 15:00:59 +01:00
parent 01ea4c9f15
commit b7f4f282e6
3 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ export class System<HookT> extends EventEmitter<SystemEvents<HookT>> {
// Ok, let's load this thing!
const plug = new Plug(this, name, sandboxFactory);
console.log("Loading", name);
await plug.load(manifest);
plug.load(manifest);
this.plugs.set(name, plug);
await this.emit("plugLoaded", plug);
return plug;