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

Ada Christine Fontaine <adachristin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kidletime/commit/cd5
                   |                            |040684723b87c7ba5b7cc1b1a63
                   |                            |402902a641
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Ada Christine Fontaine <adachristin...@gmail.com> ---
Git commit cd5040684723b87c7ba5b7cc1b1a63402902a641 by Ada Christine.
Committed on 27/03/2022 at 22:28.
Pushed by ahmadsamir into branch 'master'.

Fixed crash during KIdleTime::timeoutReached()

timeoutReached() will cause a crash if an item is removed from associations
during signal dispatch due to iterator invalidation. iterate over a
const container of the assoication keys only triggering ones matching
the current timeout value to avoid the crash and unnecessary copying

M  +5    -5    src/kidletime.cpp

https://invent.kde.org/frameworks/kidletime/commit/cd5040684723b87c7ba5b7cc1b1a63402902a641

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

Reply via email to