Skip to content

libobs: Fix deadlock on executing tasks#13579

Open
exeldro wants to merge 1 commit into
obsproject:masterfrom
exeldro:task_deadlock
Open

libobs: Fix deadlock on executing tasks#13579
exeldro wants to merge 1 commit into
obsproject:masterfrom
exeldro:task_deadlock

Conversation

@exeldro

@exeldro exeldro commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description

Fix deadlock on executing tasks

Motivation and Context

Do not keep the task mutex locked while executing a task.
There are multiple tasks in OBS itself and in plugins that use other mutexes and queue tasks.

How Has This Been Tested?

On windows 11 by trying to get deadlocks using an OBS plugin.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

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