mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
examples: catch signal and clean up
This commit is contained in:
parent
702976ab9c
commit
6b313de2ae
3 changed files with 23 additions and 8 deletions
|
|
@ -151,6 +151,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
pw_filter_destroy(data.filter);
|
||||
pw_main_loop_destroy(data.loop);
|
||||
pw_deinit();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue