Audio transcoding works correctly. Added a bunch of cleanup functions
This commit is contained in:
@ -24,6 +24,13 @@ ecdb_project_init(Ecdb_Project *proj)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
ecdb_project_destroy(Ecdb_Project *proj)
|
||||
{
|
||||
ecdb_lose_drive_info(proj);
|
||||
free(proj);
|
||||
}
|
||||
|
||||
int
|
||||
ecdb_shutdown(void *data, int type, void *event)
|
||||
{
|
||||
@ -32,6 +39,9 @@ ecdb_shutdown(void *data, int type, void *event)
|
||||
if (em->drives)
|
||||
ecore_list_destroy(em->drives);
|
||||
free(em);
|
||||
|
||||
if (!ecore_file_recursive_rm("/tmp/ecdb"))
|
||||
printf("Removal of temporary directory failed!\n");
|
||||
ecore_main_loop_quit();
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user