mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 00:46:23 +00:00
fix: sync crashes
1. make sure there's no sync reentrancy 2. there's no need to restore pwd after user input the password
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
(if (instance? js/Error persist-r)
|
||||
(js/console.error persist-r)
|
||||
(when (fn? after-input-password)
|
||||
(async/<! (after-input-password))
|
||||
(after-input-password @*password)
|
||||
;; TODO: it's better if based on sync state
|
||||
(when init-graph-keys
|
||||
(js/setTimeout #(state/pub-event! [:file-sync/maybe-onboarding-show :sync-learn]) 10000)))))))))))
|
||||
|
||||
Reference in New Issue
Block a user