Skip to content

poll block within script_in_state will still be active after transitioning out of the state #128

Description

@doudou

In the following example

on :moved_outside do
  transition :inside => :outside
end
script_in_state do
  poll do
     moved_outside_event.emit if condition?
  end
end

the poll block will still be active. The workaround is to explicitely transition out of the poll using transition!, or to use poll_until

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions