mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
parent
b2ce24e20e
commit
22bdd52db5
1 changed files with 3 additions and 0 deletions
|
|
@ -390,6 +390,9 @@ void pw_global_destroy(struct pw_global *global)
|
||||||
struct pw_resource *resource;
|
struct pw_resource *resource;
|
||||||
struct pw_context *context = global->context;
|
struct pw_context *context = global->context;
|
||||||
|
|
||||||
|
if (global->destroyed)
|
||||||
|
return;
|
||||||
|
|
||||||
global->destroyed = true;
|
global->destroyed = true;
|
||||||
|
|
||||||
pw_log_debug("%p: destroy %u", global, global->id);
|
pw_log_debug("%p: destroy %u", global, global->id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue