kpmcore/src/util
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
..
CMakeLists.txt Don't hardcode dbus policy install dir 2019-05-12 22:32:58 +02:00
capacity.cpp Convert more enums to scoped enums. 2018-04-09 15:14:34 +01:00
capacity.h Explicitely specify underlying type for Capacity enums. 2019-02-10 01:43:05 +00:00
externalcommand.cpp Do not move further if system bus is not connected 2019-05-30 23:27:50 +05:30
externalcommand.h Remove extra semicolon 2019-05-30 22:47:17 +05:30
externalcommand_whitelist.h Remove "mv" command from allowed external command list 2019-01-12 23:18:01 +00:00
externalcommandhelper.cpp manually quit kauth's mainloop 2019-06-03 15:08:10 +02:00
externalcommandhelper.h Scrap Public Key Cryptography code based on QCA as QDbus is secure enough 2019-05-19 22:53:13 +05:30
globallog.cpp Always use nullptr instead of NULL because it is type-safe. 2015-07-22 15:48:03 +02:00
globallog.h Fix error message. 2018-07-14 21:36:13 +01:00
helpers.cpp Update copyright year in about dialog. 2019-05-01 00:36:56 +01:00
helpers.h Move showColumnsContextMenu function from kpmcore to partitionmanager. 2017-09-14 20:43:08 +01:00
htmlreport.cpp Fix conversion to/from QString/QByteArray 2017-12-03 12:37:21 +00:00
htmlreport.h Rename KPMcore include guards. 2017-09-10 20:12:52 +01:00
libpartitionmanagerexport.h d-pointerize ExternalCommand class. 2018-04-12 00:47:40 +03:00
org.kde.kpmcore.applicationinterface.conf Switch DBus calls to classes generated from XML. 2018-08-05 21:15:33 +01:00
org.kde.kpmcore.externalcommand.actions SVN_SILENT made messages (.desktop file) - always resolve ours 2019-03-05 05:54:54 +01:00
org.kde.kpmcore.helperinterface.conf WIP: add some experimental code where helper is used as daemon 2018-03-19 11:42:49 +01:00
report.cpp Fix a typo in the comment. 2018-08-01 00:58:24 +01:00
report.h Rename KPMcore include guards. 2017-09-10 20:12:52 +01:00