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

Do mounted check before setstate in didChangeDependencies #87

Closed
wants to merge 3 commits into from

Conversation

cloudwow
Copy link

Hi all, I saw a crash in my app while testing and traced it to an unsafe setState call in _CropEditorState. The timing of the crash is hard to reproduce and so not a serious problem. Here's a fix.

@chooyan-eng chooyan-eng mentioned this pull request Dec 9, 2024
@chooyan-eng
Copy link
Owner

@cloudwow Thank you for your contribution! Let me close this PR with migrating this change into the current source code. #167

@chooyan-eng chooyan-eng closed this Dec 9, 2024
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 this pull request may close these issues.

2 participants