fix(agents): align runtime with updated deps

This commit is contained in:
Peter Steinberger
2026-04-04 22:37:42 +09:00
parent 76d1f26782
commit f9717f2eae
28 changed files with 280 additions and 120 deletions

View File

@@ -230,10 +230,10 @@ export class MediaAttachmentCache {
}
async cleanup(): Promise<void> {
const cleanups: Array<Promise<void> | void> = [];
const cleanups: Promise<void>[] = [];
for (const entry of this.entries.values()) {
if (entry.tempCleanup) {
cleanups.push(Promise.resolve(entry.tempCleanup()));
cleanups.push(entry.tempCleanup());
entry.tempCleanup = undefined;
}
}