stream: let the node_destroy() destroy the proxy as well

This commit is contained in:
Wim Taymans 2020-06-02 18:15:48 +02:00
parent 3d22baab84
commit 3890f06c83

View file

@ -1573,9 +1573,6 @@ int pw_stream_disconnect(struct pw_stream *stream)
if (impl->node)
pw_impl_node_set_active(impl->node, false);
if (stream->proxy)
pw_proxy_destroy(stream->proxy);
if (impl->node) {
pw_impl_node_destroy(impl->node);
impl->node = NULL;