Skip to content
Commit 208b7bb4 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Automatically close fds for inert resources

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


(cherry picked from commit ca07c765)
parent 4008dcce
Pipeline #83068 passed with stage
in 6 minutes and 2 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment