mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 22:36:12 +02: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
|
;; Mark file initialized when indexes are ready
|
||||||
(->> stream
|
(->> stream
|
||||||
(rx/filter #(= ::dwc/index-initialized %))
|
(rx/filter #(= ::dwc/index-initialized %))
|
||||||
(rx/map (constantly
|
(rx/first)
|
||||||
(file-initialized project-id file-id))))
|
(rx/map (fn []
|
||||||
|
(file-initialized project-id file-id))))
|
||||||
|
|
||||||
))))
|
))))
|
||||||
|
|
||||||
(defn- file-initialized
|
(defn- file-initialized
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue