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

Bogdan Onofriuchuk <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kdeplasma-addons/-/commi |ma/kdeplasma-addons/-/commi
                   |t/6749ac371ddacd910a0f2dfec |t/2721e3fd2a0aaada9e058c7cb
                   |3d07875230a4dab             |6ef3c7a9b202f41

--- Comment #4 from Bogdan Onofriuchuk <[email protected]> ---
Git commit 2721e3fd2a0aaada9e058c7cb6ef3c7a9b202f41 by Bohdan Onofriichuk.
Committed on 19/11/2026 at 18:00.
Pushed by littlesweet into branch 'Plasma/6.8'.

applets/weather: prevent removal callbacks during shutdown

Set a shutdown flag in WeatherDataMonitor before its members are
destroyed. This prevents forecast and location removal callbacks
from accessing m_ionControls while the hash is being destroyed.

IonControl destruction can release the last shared references to
ForecastData and LocationsData, triggering their removal signals.
Without this guard, the callbacks may attempt to modify
m_ionControls during its destruction, resulting in undefined
behavior.


(cherry picked from commit 1f207bee2fdd3b83e7905a3aa4b60df3e423e713)

Co-authored-by: Bohdan Onofriichuk <[email protected]>

M  +13   -0    applets/weather/weatherdatamonitor_p.cpp
M  +2    -0    applets/weather/weatherdatamonitor_p.h

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/2721e3fd2a0aaada9e058c7cb6ef3c7a9b202f41

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

Reply via email to