path: root/tests
diff options
authorLaszlo Agocs <laszlo.agocs@qt.io>2021-10-11 15:37:33 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-13 05:27:47 +0000
commitc46b330fa721e82849194472651430ce255d06e1 (patch)
treeb71d291ff0fe010d7d4cf3ed13e2367e91da497e /tests
parentfeb076d23ed832b21bf415032146570f4afb25d5 (diff)
Revert "Fix for possible crash in QSGDefaultLayer::grab"6.1
This reverts commit 1c5de027d0c31d1d6697bd0557128d92207763d8. The fix here is not correct. Calling a QSGRhiLayer function from the gui thread is very wrong and can cause a set of unexpected issues. The Address Sanitizer catches this by recognizing that the render thread is trying to do something with an object destroyed in the meantime on the main thread in the layer->setItem(null) call. The issue the original fix is trying to address needs to be addressed in some different form. Fixes: QTBUG-94975 Change-Id: I46f904026281201fc6d233ed7d3bdc7080934afe Reviewed-by: Christian Strømme <christian.stromme@qt.io> (cherry picked from commit a5f0361622eb08eab6c3474d5fc249d1962e3d1e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions