audio: pipewire: Reset hotplug atomic variables on deinit.
This commit is contained in:
1 parent
ae5336a3d2
commit
70c23b25f0
1 file changed
+3
@@ -738,6 +738,9 @@ hotplug_loop_destroy()
|
|||||||
pending_list_clear();
|
pending_list_clear();
|
||||||
io_list_clear();
|
io_list_clear();
|
||||||
|
|
||||||
|
SDL_AtomicSet(&hotplug_init_complete, 0);
|
||||||
|
SDL_AtomicSet(&hotplug_events_enabled, 0);
|
||||||
|
|
||||||
if (hotplug_registry) {
|
if (hotplug_registry) {
|
||||||
PIPEWIRE_pw_proxy_destroy((struct pw_proxy *)hotplug_registry);
|
PIPEWIRE_pw_proxy_destroy((struct pw_proxy *)hotplug_registry);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user