mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 11:26:26 +00:00
fix: cancel rsapi requests when paused
This commit is contained in:
@@ -2645,6 +2645,7 @@
|
||||
(.schedule this next-state nil nil)))))
|
||||
|
||||
(pause [this]
|
||||
(<! (<rsapi-cancel-all-requests))
|
||||
(put-sync-event! {:event :pause
|
||||
:data {:graph-uuid graph-uuid
|
||||
:epoch (tc/to-epoch (t/now))}})
|
||||
|
||||
Reference in New Issue
Block a user