aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2021-10-11 15:37:33 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2021-10-12 19:14:47 +0200
commita5f0361622eb08eab6c3474d5fc249d1962e3d1e (patch)
treed31cb21abbed8764fef2a31e6b85cf4655c3f5d8 /src/qml
parent93ccc3ddf918156a8b967e66e6db3f6e1880bc17 (diff)
Revert "Fix for possible crash in QSGDefaultLayer::grab"
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 Pick-to: 6.2 6.1 5.15 Change-Id: I46f904026281201fc6d233ed7d3bdc7080934afe Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/qml')
0 files changed, 0 insertions, 0 deletions