Skip to content

Calling WaitGroup.Wait during state processing causes Fire to freeze and the state machine to freeze #89

Description

@NOWXF

During the event processing of the state machine, the warit of the waitgroup is called, which causes Fire to freeze.
Illustrate:
In the state machine, i need to use a timer, via time. NewTicker creates timers, timers. C to the end, call Fire to send a signal. When exiting the state, the timer is called to stop, and when the wait coroutine is stopped, the tracking finds that Fire is stuck.

I didn't find a similar problem, please help me.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions