Skip to content

Commit

Permalink
Drain app queue first then inject flows
Browse files Browse the repository at this point in the history
  • Loading branch information
borodust committed Apr 12, 2020
1 parent d61aa17 commit fc65f3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appkit/appkit.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,12 @@
(setf updated-p nil)
(>> (sweeping-flow this)
(%app-configuration-flow this))))
(instantly ()
(drain action-queue))
(->> ()
(when injected-flows
(prog1 (nreverse injected-flows)
(setf injected-flows nil))))
(instantly ()
(drain action-queue))
(->> ()
(acting-flow this)))))

Expand Down

0 comments on commit fc65f3f

Please sign in to comment.