9ad7e79e50
If graph has multiple branches, End command is enqueued on launch stream which makes sure all the internal parallel streams are finsihed. When node is removed from the graph, indegree and outdegree are not getting update correctly for parent, child nodes and resulting in endNode not having deps on parallel commands. Resulting in graph sync issues. Change-Id: I33cc2f21220e1c017d88099b29b542e05b683f73