Skip to content

Restore ObjectLevelLockingPolicy on ShaderManager

Paul Lemire requested to merge lemirep/qt3d:patch_2 into kde/5.15

We are hitting a race condition otherwise. This is likely due to the fact that removing the shaders is done only once we have unloaded them from the graphics API which technically could happen in a separate thread than the scenegraph thread when running with Scene3D.

Change-Id: Ic914f3b305bf807081294a90250413a5d263f124

Fixes #239

https://codereview.qt-project.org/c/qt/tqtc-qt3d/+/339918

Merge request reports