applets/taskmanager: reset fd in `Component.onDestruction`
When the mouse cursor moves from one task to another task,
- Call
updateMainItemBindings()
to setblockingUpdates
to true -
sourceComponent
-> undefined -
PipeWire.PipeWireSourceItem
-> Component.onDestruction -
sourceComponent
-> singleTooltip / groupToolTip - A new
PipeWire.PipeWireSourceItem
is created, nodeId is set and fd 0 is opened - The old
PipeWireSourceItem
calls its dtor, and fd 0 is closed. - The new
PipeWireSourceItem
can't create a new stream because fd 0 is closed by the oldPipeWireSourceItem
This manually resets fd in Component.onDestruction
to close fd 0 early
to fix the bug.
BUG: 464597 FIXED-IN: 5.27
Requires kpipewire!17 (merged) and !1353 (merged)