kpmcore/src
Harald Sitter 5413150c67 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.

BUG: 408245

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
2019-06-03 15:08:10 +02:00
..
backend Add scanDevices function that uses flags instead of bools. 2019-02-09 15:40:06 +00:00
core Fixing device scanning process 2019-04-03 15:37:47 -06:00
fs Remove unused include. 2019-04-06 17:36:25 +01:00
gui Mark override members as such 2019-02-16 00:17:48 +01:00
jobs Simplify return value logic. 2018-10-21 23:59:39 +01:00
ops Fix setting partition path when restoring partitions. 2019-05-10 02:12:07 +01:00
plugins Fixing device scanning process 2019-04-03 15:37:47 -06:00
util manually quit kauth's mainloop 2019-06-03 15:08:10 +02:00
CMakeLists.txt Use KF5::AuthCore instead of KF5::Auth 2019-02-16 00:25:37 +01:00
Messages.sh Remove kcfg and kcfgc files. 2015-07-21 12:44:40 +02:00