Skip to content

backends/drm: check if m_commits is empty after waiting for commitPending

Xaver Hugl requested to merge work/cherry-pick-7f4e1ca1 into Plasma/6.2

The main thread might've cleared the list, so it could crash

Fixes https://crash-reports.kde.org/share/issue/1e34fff2ef0d48f29fb64748caef884a/

(cherry picked from commit 7f4e1ca1)

Co-authored-by: Xaver Hugl xaver.hugl@gmail.com

Merge request reports

Loading