Added "lock" variable name to all anonymous QMutexLocker instances to extend their lifespan to the end of their scope. This matches the QMutexLocker usage in other parts of the app (RVConsoleWindow.cpp and QTAudioRenderer.cpp).
Describe the reason for the change
Enabling OCIO was causing frequent crashing when reader threads were set greater than 1, in particular under MacOS Sonoma.
Linked issues
Should fix #463
Summarize your change.
Added "lock" variable name to all anonymous QMutexLocker instances to extend their lifespan to the end of their scope. This matches the QMutexLocker usage in other parts of the app (RVConsoleWindow.cpp and QTAudioRenderer.cpp).
Describe the reason for the change
Enabling OCIO was causing frequent crashing when reader threads were set greater than 1, in particular under MacOS Sonoma.