Checkpoint current UI and ink integration state
This commit is contained in:
@@ -30,8 +30,12 @@ export class BaseModule {
|
||||
this.dependencies = [];
|
||||
this._loadedDependencies = new Map();
|
||||
|
||||
// Auto-register with module registry
|
||||
moduleRegistry.register(this);
|
||||
// Register after subclass constructors have assigned dependencies.
|
||||
// Several older modules still call moduleRegistry.register explicitly;
|
||||
// the registry treats those calls as idempotent.
|
||||
queueMicrotask(() => {
|
||||
moduleRegistry.register(this);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user