Skip to content

[BUG] Previous State's Heartbeat keeps running even after Next State Starts! #23

@Errorbot1122

Description

@Errorbot1122

It seems that the previous State's OnHeartbeat and (maybe) OnLeave functions sometimes continue running a little, even while the next State's OnStart and (maybe) OnHeartbeat functions are running! This seems to happen because of your use of task.defer. This is not good as, most would rightfully assume that the OnStart function would only run, after the last state has left!

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