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

Dan Leinir Turthra Jensen <ad...@leinir.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/knewstuff/commit/243
                   |                            |ea6155b28457c8b1441fee8ab10
                   |                            |37828d21ba
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.78

--- Comment #17 from Dan Leinir Turthra Jensen <ad...@leinir.dk> ---
Git commit 243ea6155b28457c8b1441fee8ab1037828d21ba by Dan Leinir Turthra
Jensen.
Committed on 14/12/2020 at 21:11.
Pushed by leinir into branch 'master'.

Add a dptr to Cache, and move the throttle timer there to fix crash

Previously, the throttle timer was a raw static, but it was also a parented
qobject, which means that when the cache was deleted, so was the timer, but the
variable was not reset. Consequently, things would crash left and right later
on. So, to alleviate this, and hopefully avoid future issues, introduce a dptr,
stick the timer there, and move the logic to that private class as well.

FIXED-IN:5.78

M  +30   -11   src/core/cache.cpp
M  +5    -2    src/core/cache.h

https://invent.kde.org/frameworks/knewstuff/commit/243ea6155b28457c8b1441fee8ab1037828d21ba

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

Reply via email to