Skip to content

fix(bug): race condition#4635

Open
helmutcarter wants to merge 2 commits intoankitects:mainfrom
helmutcarter:fix_race
Open

fix(bug): race condition#4635
helmutcarter wants to merge 2 commits intoankitects:mainfrom
helmutcarter:fix_race

Conversation

@helmutcarter
Copy link
Copy Markdown

Publish the media sync abort handle before spawning the worker, clear it with a scope guard, and return CollectionNotOpen instead of panicking if the collection is gone before the worker starts. This avoids a race where closing the collection during media sync startup could panic.

helmutcarter and others added 2 commits March 25, 2026 11:38
Hope it's okay to use my github url instead of my email, I don't really want to put my personal email out there.
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.

1 participant