mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-27 08:18:50 -04:00
image-source: Use mutex when accessing slideshow
While adding or updating files locked this mutex, the graphics thread did not. As the update operation is not atomic, the graphics thread might access the darray in the middle of an update, resulting in access to freed memory (crash) if the files were updated at the same time.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f