Skip to content

PlasmaWindowManagement: Avoid unbounded recursion and delay in readData

Fabian Vogt requested to merge work/fvogt/lessrecursive into master

It recurses for each partial read, which can lead to unbounded recursion depth and delay (retryCount isn't passed). Convert the code to be iterative to fix that, which is also much simpler.

BUG: 453124

Draft because not even compile tested yet.

Edited by Fabian Vogt

Merge request reports

Loading