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

setState() called after dispose(): _ImageState#04f75(lifecycle state: defunct, not mounted, stream: ImageStream#a48f7(MultiFrameImageStreamCompleter#286e8, [1680×1050] @ 1.0x, 2 listeners), pixels: null, loadingProgress: null, frameNumber: null, wasSynchronouslyLoaded: false) #55

Open
Add00w opened this issue Jul 12, 2020 · 0 comments

Comments

@Add00w
Copy link

Add00w commented Jul 12, 2020

I am using flutter carousel pro and in somehow I am getting this error any solution?

it says like this:
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().

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

1 participant