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

fanzhuyi...@gmail.com 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/de9d07981e93814e407b05fe7 |t/e8a7181bcf205d16df3ad10f4
                   |dcebf0312d1e3cf             |1e57b42d514206d

--- Comment #8 from fanzhuyi...@gmail.com ---
Git commit e8a7181bcf205d16df3ad10f41e57b42d514206d by Yifan Zhu.
Committed on 17/01/2024 at 22:41.
Pushed by fanzhuyifan into branch 'Plasma/6.0'.

runners/calculator: add mutex for CALCULATOR creation/destruction

When using the search field in the overview effect with multiple
monitors, multiple concurrent calls to match(...) are issued. Since
Qalculate is initialized on demand, multiple calls to its constructor may
be issued at the same time. This can cause race conditions in accessing
the global CALCULATOR instance. Add mutex to protect its construction
and destruction.


(cherry picked from commit de9d07981e93814e407b05fe7dcebf0312d1e3cf)

M  +5    -0    runners/calculator/qalculate_engine.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/e8a7181bcf205d16df3ad10f41e57b42d514206d

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

Reply via email to