examples: catch signal and clean up

This commit is contained in:
Wim Taymans 2020-06-03 15:26:54 +02:00
parent 702976ab9c
commit 6b313de2ae
3 changed files with 23 additions and 8 deletions

View file

@ -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;
}