[kio-admin] [Bug 468673] Memory leak when pasting files in administrator mode

Harald Sitter bugzilla_noreply at kde.org
Sat Apr 22 17:49:34 BST 2023


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

Harald Sitter <sitter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/commit/ae4af4ab8
                   |                            |4588f1d64149ba05d83bcb39fe8
                   |                            |4f7a
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Harald Sitter <sitter at kde.org> ---
Git commit ae4af4ab84588f1d64149ba05d83bcb39fe84f7a by Harald Sitter.
Committed on 22/04/2023 at 14:53.
Pushed by meven into branch 'master'.

delete threaded workers on a thread

this prevents potential deadlocks between the worker thread and the main
thread in case the former relies on the latter to do work. specifically
qdbus seems unhappy if we wait in the main thread. in point of fact we
shouldn't be waiting in the main thread anyway since the result of the
thread is immaterial

(wait is also called inside the workerthread destructor, I'm leaving it
there as a safe guard against deleting still-running threads)

M  +14   -0    src/core/worker.cpp

https://invent.kde.org/frameworks/kio/commit/ae4af4ab84588f1d64149ba05d83bcb39fe84f7a

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list