mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-03 02:00:29 +08:00
Fix not cleaning subcaches
This commit is contained in:
parent
5bad474118
commit
90f57e6a8d
@ -270,6 +270,8 @@ class BasicCache:
|
||||
for key in self.subcaches:
|
||||
if key not in preserve_subcaches:
|
||||
to_remove.append(key)
|
||||
else:
|
||||
self.subcaches[key].clean_unused()
|
||||
for key in to_remove:
|
||||
del self.subcaches[key]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user