lxqt / pavucontrol-qt

A Pulseaudio mixer in Qt (port of pavucontrol)
https://lxqt.github.io
GNU General Public License v2.0
108 stars 29 forks source link

Fix pa_stream leaks #242

Closed ihameed closed 1 year ago

ihameed commented 1 year ago

Long-running instances of pavucontrol-qt will keep lots of leaked monitor streams open; when using pipewire as a pulse server, this results in pipewire keeping do-nothing monitoring ports around in the graph. This change fixes that by explicitly decrementing the refcount of each soon-to-be-unreachable pa_stream.

ihameed commented 1 year ago

Is there anything I can do to help get this merged? I've been using this patch on my local copy of pavucontrol-qt for months and it's been working fine.

palinek commented 1 year ago

Sorry for missing this. Landed in 9985ed3

ihameed commented 1 year ago

Thank you!