mirror of https://github.com/penpot/penpot.git
🐛 Minor memory leak fix on workspace initialization.
This commit is contained in:
parent
52a3cd6ae4
commit
c54d9b777d
|
|
@ -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…
Reference in New Issue