mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 17:43:05 +00:00
fix(agents): align runtime with updated deps
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user