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

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/libksysguard/-/commit/1f
                   |                            |ba81df1f93ddc21547922c11580
                   |                            |beec0a69b0e

--- Comment #8 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 1fba81df1f93ddc21547922c11580beec0a69b0e by Arjen Hiemstra.
Committed on 14/11/2024 at 12:44.
Pushed by ahiemstra into branch 'master'.

faces: Ensure the temporary dir for a preset remains until installed

QTemporaryDir deletes the temporary directory when it goes out of scope.
However, installing the preset with KPackage is an asynchronous
operation that can extend beyond the current scope. This can cause the
preset data to be deleted while we're still installing. To ensure this
doesn't happen, extend the lifetime of the QTemporaryDir into the lambda
we use to handle the job finished, so that it lives at least as long as
the job.

M  +6    -1    faces/SensorFaceController.cpp

https://invent.kde.org/plasma/libksysguard/-/commit/1fba81df1f93ddc21547922c11580beec0a69b0e

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

Reply via email to