Skip to content

Fix crashes when saving/loading save states - #777

Merged
asimon-1 merged 2 commits into
jugeeya:mainfrom
asimon-1:filesystem-refactor
Sep 10, 2026
Merged

asimon-1 merged 2 commits into
jugeeya:mainfrom
asimon-1:filesystem-refactor

Conversation

@asimon-1

@asimon-1 asimon-1 commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Instead of spawning a new thread every time we want to write to the SD card, use a single persistent writer thread and send it messages through a channel. This prevents concurrent writes and the spawning of too many child threads.

@asimon-1
asimon-1 requested a review from jugeeya as a code owner September 9, 2026 12:35
@asimon-1

asimon-1 commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

Closes #769

Comment thread src/common/filesystem.rs
Comment thread src/common/filesystem.rs
Comment thread src/common/filesystem.rs
@asimon-1
asimon-1 merged commit dee52f3 into jugeeya:main Sep 10, 2026
3 checks passed
@asimon-1
asimon-1 deleted the filesystem-refactor branch September 10, 2026 01:13
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