https://bugs.kde.org/show_bug.cgi?id=516937

Dobry <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/0cc554a33cd496569f0fb1c9b |t/7308d3153f5e9ee8607f89005
                   |a3a3f9261e627b7             |aa05c2fd4f07dd6

--- Comment #9 from Dobry <[email protected]> ---
Git commit 7308d3153f5e9ee8607f89005aa05c2fd4f07dd6 by Dobry Nikolov.
Committed on 03/03/2026 at 15:05.
Pushed by ngraham into branch 'master'.

shellcorona: use QPointer for m_waitingPanels to futureproof against dangling
pointers

Change m_waitingPanels to QList<QPointer<Plasma::Containment>> so that
any freed containment pointer auto-nulls in place rather than dangling.

- createWaitingPanels(): call removeAll(nullptr) at entry to discard
  any auto-nulled entries before iterating.
- checkAllDesktopsUiReady(): same removeAll(nullptr) before isEmpty()
  to avoid spuriously starting the timer for nulled entries.
- panelContainmentDestroyed(): the m_waitingPanels branch is now
  redundant since QPointer auto-nulls it; guard on m_panelViews
  instead to keep the PanelView cleanup path intact.
- isScreenUiReady(): null-check each QPointer before dereferencing.

M  +7    -6    shell/shellcorona.cpp
M  +1    -1    shell/shellcorona.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/7308d3153f5e9ee8607f89005aa05c2fd4f07dd6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to