mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 22:08:45 +02:00
main: disconnect core before exiting
Disconnecting core finishes all pending tasks, which is needed in order to avoid possible leaks if some tasks are still pending when exiting.
This commit is contained in:
parent
d9ffc1c318
commit
c6f24fac8a
1 changed files with 1 additions and 0 deletions
|
|
@ -408,6 +408,7 @@ main (gint argc, gchar **argv)
|
|||
|
||||
g_idle_add ((GSourceFunc) load_commands_file, &data);
|
||||
g_main_loop_run (data.loop);
|
||||
wp_core_disconnect (core);
|
||||
|
||||
out:
|
||||
if (data.exit_message) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue