Skip to content

pipewireproduce.cpp: Add guard to m_stream

Akseli Lahtinen requested to merge work/cherry-pick-c9c8c1a7 into Plasma/6.1

After multiple consecutive KRDP sessions, m_stream can be null, so add a guard to it to avoid segfault.

(cherry picked from commit c9c8c1a7)

96dc2be6 pipewireproduce.cpp: Add guard to m_stream a3afdd53 Destroy queued connection if no m_stream or m_encoder is found 6de6cb8f Simplify code

Co-authored-by: Akseli Lahtinen akselmo@akselmo.dev

Merge request reports