Skip to content

Fix race condition in processResults#9

Open
HennerM wants to merge 1 commit intoroyshil:masterfrom
HennerM:fix-race-condition
Open

Fix race condition in processResults#9
HennerM wants to merge 1 commit intoroyshil:masterfrom
HennerM:fix-race-condition

Conversation

@HennerM
Copy link

@HennerM HennerM commented Apr 24, 2025

There could be a race condition in the processResults function. If this is run in a thread and transcription isn't running yet while (running && !stop_requested) will immediately be false and thus exit the thread before ever calling processResults.

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