client-node: split setup of transport and fds

We can initialize the transport as soon as we get async notify
from the client when setup completes. Node initialization happens
after that and then finaly the node is initialized and we can send
the transport and fds.
Small cleanups
This commit is contained in:
Wim Taymans 2017-10-25 16:47:43 +02:00
parent 4f33a37ac6
commit b25985a2b2
5 changed files with 43 additions and 60 deletions

View file

@ -148,8 +148,6 @@ int main(int argc, char *argv[])
pw_main_loop_run(data.loop);
if (data.node)
pw_node_destroy(data.node);
pw_core_destroy(data.core);
pw_main_loop_destroy(data.loop);