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

Tickers used by AnimationControllers should be disposed by calling dispose() #5

Closed
kleyos opened this issue Sep 19, 2020 · 0 comments · Fixed by #6
Closed

Tickers used by AnimationControllers should be disposed by calling dispose() #5

kleyos opened this issue Sep 19, 2020 · 0 comments · Fixed by #6

Comments

@kleyos
Copy link

kleyos commented Sep 19, 2020

Your widget doesn't have AnimationControllers.dispose() and always is falling down

_FlutterSwitchState#e50c7(ticker active) was disposed with an active Ticker.
I/flutter (20111): _FlutterSwitchState created a Ticker via its SingleTickerProviderStateMixin, but at the time
I/flutter (20111): dispose() was called on the mixin, that Ticker was still active. The Ticker must be disposed before
I/flutter (20111): calling super.dispose().
I/flutter (20111): Tickers used by AnimationControllers should be disposed by calling dispose() on the
I/flutter (20111): AnimationController itself. Otherwise, the ticker will leak.
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

Successfully merging a pull request may close this issue.

1 participant