Skip to content

fix: crash when accessing list#1130

Merged
kaamui merged 1 commit intoOpenBoard-org:devfrom
letsfindaway:fix-crash-saves
Oct 4, 2024
Merged

fix: crash when accessing list#1130
kaamui merged 1 commit intoOpenBoard-org:devfrom
letsfindaway:fix-crash-saves

Conversation

@letsfindaway
Copy link
Copy Markdown
Collaborator

Cherry-picked from letsfindaway/try-fix-import

This PR fixes a sporadic crash occurring when a huge number of pages is saved, e.g. during PDF import.

  • the list of saves in UBPersistenceWorker is accessed by more than one thread.
  • protect access to the list with a mutex

- the list of saves in UBPersistenceWorker is accessed by
  more than one thread.
- protect access to thge list with a mutex
@kaamui kaamui merged commit 9ceac01 into OpenBoard-org:dev Oct 4, 2024
@letsfindaway letsfindaway deleted the fix-crash-saves branch October 9, 2024 09:02
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