mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 15:51:37 -05:00
🐛 Minor memory leak fix on workspace initialization.
This commit is contained in:
parent
52a3cd6ae4
commit
c54d9b777d
1 changed files with 4 additions and 2 deletions
|
@ -181,8 +181,10 @@
|
|||
;; Mark file initialized when indexes are ready
|
||||
(->> stream
|
||||
(rx/filter #(= ::dwc/index-initialized %))
|
||||
(rx/map (constantly
|
||||
(file-initialized project-id file-id))))
|
||||
(rx/first)
|
||||
(rx/map (fn []
|
||||
(file-initialized project-id file-id))))
|
||||
|
||||
))))
|
||||
|
||||
(defn- file-initialized
|
||||
|
|
Loading…
Add table
Reference in a new issue