core-proxy: improve cleanup

Don't disconnect and destroy on errors, let the app do that.
Don't try to use a destroyed core-proxy.
This commit is contained in:
Wim Taymans 2019-12-10 12:27:12 +01:00
parent 2c492ff71f
commit 468cbb8892
2 changed files with 1 additions and 2 deletions

View file

@ -686,7 +686,6 @@ error:
this->recv_seq, res, "connection error");
pw_loop_destroy_source(loop, impl->source);
impl->source = NULL;
pw_core_proxy_disconnect(this);
}