Skip to content

Fix activity startup race condition#304

Merged
brodeurlv merged 1 commit intobrodeurlv:masterfrom
dotpluto:fix/db-reset-crash
Jan 15, 2026
Merged

Fix activity startup race condition#304
brodeurlv merged 1 commit intobrodeurlv:masterfrom
dotpluto:fix/db-reset-crash

Conversation

@dotpluto
Copy link
Copy Markdown
Contributor

Hello,

This pr fixes a race condition. The database deletion code relied on MainActivity.onStart() to save the intro preference it reset. But another MainActivity could start in the meantime and read the outdated preferences causing a softlock.

Thanks

@brodeurlv brodeurlv merged commit 1f3c586 into brodeurlv:master Jan 15, 2026
1 check passed
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