mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00:00
pulse-server: also remove creating objects
When an object is created, it is marked creating until all roundtrips complete. If the object is removed in between, we don't remove it because find_object does not return creating objects. Make find_object also return the creating objects to fix this.
This commit is contained in:
parent
73bf30efa6
commit
f70fdf5605
|
@ -165,8 +165,6 @@ static struct object *find_object(struct manager *m, uint32_t id)
|
|||
{
|
||||
struct object *o;
|
||||
spa_list_for_each(o, &m->this.object_list, this.link) {
|
||||
if (o->this.creating)
|
||||
continue;
|
||||
if (o->this.id == id)
|
||||
return o;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue