Commit 3ec54d2
authored
463: Unanonymised QMutexLocker usage in OCIOIPNode.cpp (#476)
### Linked issues
Should fix
[#463](#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.
Signed-off-by: kenmcgaugh <[email protected]>1 parent ca3a467 commit 3ec54d2
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
| 525 | + | |
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| |||
0 commit comments