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

Andrius Štikonas <andr...@stikonas.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |kpmcore/commit/5413150c6772 |kpmcore/commit/9b45e25f8172
                   |87e9328fde29326c629198e4ba3 |02edfc9f7f25f7ee95a4024c697
                   |0                           |b

--- Comment #2 from Andrius Štikonas <andr...@stikonas.eu> ---
Git commit 9b45e25f817202edfc9f7f25f7ee95a4024c697b by Andrius Štikonas, on
behalf of Harald Sitter.
Committed on 05/06/2019 at 17:34.
Pushed by stikonas into branch '4.0'.

manually quit kauth's mainloop

Summary:
kauth helpers have a qcoreapplication started which auto-terminates after
10 seconds of idle time. this would be an added time out on top of our
life time management that is not necessary. to prevent this additional
delay simply quit the qapplication directly.

this makes helper termination almost instantaneous even when the dbus
client disappears due to crash or SIGINT, and largely removes the
need to call stopHelper altogether.

Test Plan:
both partitionmanager and calamares instantly quit the helper no matter how the
client process gets terminated

other than that everything seems to work as before

Reviewers: stikonas

Differential Revision: https://phabricator.kde.org/D21559

M  +6    -0    src/util/externalcommandhelper.cpp

https://invent.kde.org/kde/kpmcore/commit/9b45e25f817202edfc9f7f25f7ee95a4024c697b

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

Reply via email to