Skip to content

xwayland: Fix a couple of file descriptor leaks

Vlad Zahorodnii requested to merge work/cherry-pick-40d20297 into Plasma/6.2

The -wm file descriptor leak prevents the poll() function from returning POLLHUP when Xwayland dies.

The POLLHUP status will be set when all file descriptors for the other end point are closed.

BUG: 442846

(cherry picked from commit 40d20297)

Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org

Merge request reports

Loading