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

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
                   |ities/filelight/commit/9564 |ities/filelight/commit/83d1
                   |7dc3c5045724c0cc6218ec459e9 |5a5a71bf189627c28dd2eb2e2a9
                   |2bb45ed3e                   |f41863648

--- Comment #19 from Harald Sitter <sit...@kde.org> ---
Git commit 83d15a5a71bf189627c28dd2eb2e2a9f41863648 by Harald Sitter.
Committed on 01/01/2023 at 16:10.
Pushed by sitter into branch 'release/22.12'.

work around bug in QThreadPool::tryStart(std::function)

the underlying code doesn't correctly set up ref counting before passing
the internally created runnable to QThreadPoolPrivate. this later
results in failed assertions about the ref counting.

instead create a qrunnable of our function so we can use
tryStart(QRunnable) which has correct ref counting code.

this prevents crashing when used with full on debug builds of Qt

M  +6    -1    src/localLister.cpp

https://invent.kde.org/utilities/filelight/commit/83d15a5a71bf189627c28dd2eb2e2a9f41863648

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

Reply via email to