Comment 59 for bug 1466347

Revision history for this message
In , Ilya Basin (basinilya) wrote :

Created attachment 78093
0001-BlueDevilDaemon-monolithic-fix-race-condition-use-QD.patch

This patch applies to master. It uses QDBusServiceWatcher to launch monolithik when the service is unregistered. It's simpler than using QProcess signals, I reverted to startDetached().

The new branch called betterMonolithicHandling2. Compare:

$ git diff --stat master betterMonolithicHandling
 src/daemon/kded/BlueDevilDaemon.cpp | 94
 src/daemon/kded/BlueDevilDaemon.h | 9
 2 files changed, 92 insertions(+), 11 deletions(-)
$ git diff --stat master betterMonolithicHandling2
 src/daemon/kded/BlueDevilDaemon.cpp | 64
 src/daemon/kded/BlueDevilDaemon.h | 5
 2 files changed, 58 insertions(+), 11 deletions(-)