Skip to content

callbacks not cleaned up when removing tweens #5

@naychrist

Description

@naychrist

Callbacks still seem to fire after removing tweens, which can throw errors. Quick workaround without changing package is replacing tween callbacks with blank functions before stopping/removing:

myTween.onUpdate((_){});
myTween.onComplete((_){});

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