From 093a068d34fdbd6c01a6a85e0cf0c4aded3bf65d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 17 Apr 2019 15:24:47 +0200 Subject: [PATCH] stream: deactivate a stream when unlinked --- src/stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stream.c b/src/stream.c index 142c2eff1..1e1c50a4c 100644 --- a/src/stream.c +++ b/src/stream.c @@ -635,6 +635,7 @@ static void stream_unlink(pa_stream *s) } spa_list_remove(&s->link); + pw_stream_set_active(s->stream, false); s->context = NULL; pa_stream_unref(s);