fix(app-boot): preserve published loader composition

This commit is contained in:
imccyu
2026-07-31 01:35:53 +08:00
parent e423d10111
commit c92a6c3b76
13 changed files with 116 additions and 59 deletions

View File

@@ -160,11 +160,10 @@ export class Entry {
} finally {
this._initTask = undefined
}
const notify = () => {
this.fiber?.await().finally(() => {
if (this.loader.getTasks().length) return
this.ctx.reflect.notify(['loader'])
}
void this.fiber?.await().then(notify, notify)
})
}
private async _init() {