clapper-app: Delete temp dir on exit

Pipeline preview creates temp files, so delete whole directory
recursively on app exit. Since these files are used through
launcher/portal with another app, we do not know when user finished
using them, thus we cannot detect and remove them earlier.
This commit is contained in:
Rafał Dzięgiel
2025-02-18 18:30:03 +01:00
parent dca8fbd336
commit b8a4a90b6c
3 changed files with 69 additions and 2 deletions

View File

@@ -74,5 +74,7 @@ main (gint argc, gchar **argv)
clapper_app_utils_win_hi_res_clock_stop (resolution);
#endif
clapper_app_utils_delete_tmp_dir ();
return status;
}