stream: deactivate a stream when unlinked

This commit is contained in:
Wim Taymans 2019-04-17 15:24:47 +02:00
parent d4cf47ec55
commit 093a068d34

View file

@ -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);