Fix some nasty bug
This commit is contained in:
@@ -87,6 +87,7 @@ export class System<HookT> extends EventEmitter<SystemEvents<HookT>> {
|
||||
sandboxFactory: SandboxFactory<HookT>
|
||||
): Promise<Plug<HookT>> {
|
||||
if (this.plugs.has(name)) {
|
||||
console.log("Unloading", name);
|
||||
await this.unload(name);
|
||||
}
|
||||
// Validate
|
||||
|
||||
Reference in New Issue
Block a user