Merge pull request #6351 from penpot/niwinz-develop-improve-cleaner

 Add cleaner to file-gc
This commit is contained in:
Alejandro Alonso 2025-05-12 11:52:01 +02:00 committed by GitHub
commit dbb9971482
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 48 additions and 3 deletions

View file

@ -58,8 +58,7 @@
[file-id revn]
(->> (wrk/ask! {:cmd :thumbnails/generate-for-file
:revn revn
:file-id file-id
:features (get @st/state :features)})
:file-id file-id})
(rx/mapcat (fn [{:keys [fonts] :as result}]
(->> (fonts/render-font-styles fonts)
(rx/map (fn [styles]