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

Bogdan Onofriuchuk <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/-/commi
                   |                            |t/6749ac371ddacd910a0f2dfec
                   |                            |3d07875230a4dab

--- Comment #3 from Bogdan Onofriuchuk <[email protected]> ---
Git commit 6749ac371ddacd910a0f2dfec3d07875230a4dab by Bohdan Onofriichuk.
Committed on 19/11/2026 at 17:49.
Pushed by littlesweet into branch 'master'.

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.

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

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/6749ac371ddacd910a0f2dfec3d07875230a4dab

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

Reply via email to