direct call to -run-queue from resume

- this now happens in the :running state
  - just like a run-queue, but with an unconditional handling of the
    first item on the queue
- no need to trigger here
This commit is contained in:
Stephen C. Gilardi 2015-11-06 23:03:07 -05:00
parent fc9fa490a6
commit 4a3d951568
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,8 @@
(-resume
[this]
(-process-1st-event this) ;; do the event which paused processing
(-fsm-trigger this :finish-resume nil)) ;; do the rest of the queued events
(-process-1st-event this) ;; do the event which paused processing
(-run-queue this)) ;; do the rest of the queued events
(-fsm-trigger
[this trigger arg]