Diffusion KWin 572f730e8ecd

[helper] Terminate xclipboardsyncer if kwin_wayland goes down

Authored by graesslin on Apr 26 2017, 4:57 AM.

Description

[helper] Terminate xclipboardsyncer if kwin_wayland goes down

Summary:
Normally the xclipboardsyncer should terminate because the socket
becomes unusable. But we have reports of it not really going down and
running amok.

In order to prevent such situations this change registers SIGTERM to be
sent to xclipboardsyncer when the parent process (that is kwin_wayland)
dies in whatever way. This ensures that xclipboardsyncer cannot become
an orphan.

BUG: 371862

Test Plan: Only compile tested, no way to get into the problematic situation

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

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

Details

Committed
graesslinMay 5 2017, 5:17 PM
Differential Revision
D5589: [helper] Terminate xclipboardsyncer if kwin_wayland goes down
Parents
R108:c3e2ea6c21fc: Merge branch 'Plasma/5.9'
Branches
Unknown
Tags
Unknown