Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callbacks not cleaned up when removing tweens #5

Open
naychrist opened this issue Mar 12, 2024 · 1 comment
Open

callbacks not cleaned up when removing tweens #5

naychrist opened this issue Mar 12, 2024 · 1 comment

Comments

@naychrist
Copy link
Contributor

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((_){});
@drawcall
Copy link
Member

#mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants