https://bugs.kde.org/show_bug.cgi?id=427373
--- Comment #2 from Vlad Zahorodnii <vlad.zahorod...@kde.org> --- Git commit 5df72c6613e588b2cc920863dbefba16ba0b89c7 by Vlad Zahorodnii. Committed on 09/10/2020 at 16:35. Pushed by vladz into branch 'Plasma/5.20'. Safely remove all internal clients and override-redirect windows When we destroy all internal clients and override-redirect windows, we assume that corresponding lists will be implicitly detached. However, in some cases, that might be not the case. For example, if the list is not shared, neither begin() nor end() will detach. Therefore, it is possible to hit invalidated iterators if the list is modified inside the loop. This change prevents hitting invalidated iterators by making explicit list copies. (cherry picked from commit 08263b534d4a73781fb06b2f875e7557965c729c) M +6 -2 workspace.cpp https://invent.kde.org/plasma/kwin/commit/5df72c6613e588b2cc920863dbefba16ba0b89c7 -- You are receiving this mail because: You are watching all bug changes.