Skip to content

Automatically close fds for inert resources

Vlad Zahorodnii requested to merge work/zzag/close-inert-fds into master

If the plasma window resource is inert, the associated get_icon handler won't be invoked. This results in leaked file descriptors.

With this change, the corresponding close() function call will be generated to avoid leaking file descriptors and potentially crashing the session due to kwin running out of fds.

BUG: 438097

Merge request reports