fix: 读档的 executor 未执行

This commit is contained in:
unanmed 2026-09-16 21:44:52 +08:00
parent d856e06b7d
commit 513a9c354c

View File

@ -534,6 +534,10 @@ export class CoreState implements ICoreState {
}
const data = state.get(key);
value.loadState(data, compression);
const executor = this.executors.get(value);
if (executor) {
executor.afterLoad(value, this);
}
}
const loaded = new Set<string>(state.keys());
const total = new Set(this.saveables.keys());