manually quit kauth's mainloop

Authored by sitter on Jun 3 2019, 12:46 PM.

Description

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

Details

Committed
sitterJun 3 2019, 1:08 PM
Differential Revision
D21559: manually quit kauth's mainloop
Parents
R16:f481109417dd: Do not move further if system bus is not connected
Branches
Unknown
Tags
Unknown