Skip to content

Fix Freeze with Input Playback Loop mode - #778

Merged
jugeeya merged 2 commits into
jugeeya:mainfrom
asimon-1:input-record-fix
Sep 14, 2026
Merged

jugeeya merged 2 commits into
jugeeya:mainfrom
asimon-1:input-record-fix

Conversation

@asimon-1

Copy link
Copy Markdown
Collaborator

We had a deadlock in this feature because we'd take out an exclusive lock on INPUT_RECORD_FRAME within handle_recording_for_fighter, then call playback which tries to take out another lock on the same global. This refactor replaces the exclusive write lock with short-lived assignments, eliminating the deadlock.

@jugeeya
jugeeya merged commit 56805d7 into jugeeya:main Sep 14, 2026
4 checks passed
@asimon-1
asimon-1 deleted the input-record-fix branch September 14, 2026 15:54
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