🐛 Minor memory leak fix on workspace initialization.

This commit is contained in:
Andrey Antukh 2021-03-01 16:39:13 +01:00
parent 52a3cd6ae4
commit c54d9b777d

View file

@ -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