Skip to content

fix add mounted checks#3767

Merged
mdmohsin7 merged 1 commit into
mainfrom
fix/import-crash
Dec 15, 2025
Merged

fix add mounted checks#3767
mdmohsin7 merged 1 commit into
mainfrom
fix/import-crash

Conversation

@krushnarout
Copy link
Copy Markdown
Member

closes #3765

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly adds mounted checks to prevent calling setState on unmounted widgets, which is a critical fix to prevent potential crashes. The changes are mostly well-implemented. The existing comment suggesting a minor refactoring to improve code conciseness and maintainability by consolidating a redundant check has been retained.

Comment thread app/lib/pages/settings/import_history_page.dart
@mdmohsin7 mdmohsin7 merged commit b490996 into main Dec 15, 2025
1 check passed
@mdmohsin7 mdmohsin7 deleted the fix/import-crash branch December 15, 2025 11:08
Glucksberg pushed a commit to Glucksberg/omi-local that referenced this pull request Apr 28, 2026
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.

FlutterError - Null check operator used on a null value - _startLimitlessImport

2 participants