forked from enlightenment/efl
and only delete job list if its not null.
SVN revision: 34063
This commit is contained in:
parent
74873d6559
commit
1bc9f155bb
|
@ -66,12 +66,14 @@ ecore_file_download_shutdown(void)
|
||||||
{
|
{
|
||||||
if (--init == 0)
|
if (--init == 0)
|
||||||
{
|
{
|
||||||
ecore_event_handler_del(_url_complete_handler);
|
if (_url_complete_handler)
|
||||||
ecore_event_handler_del(_url_progress_download);
|
ecore_event_handler_del(_url_complete_handler);
|
||||||
|
if (_url_progress_download)
|
||||||
|
ecore_event_handler_del(_url_progress_download);
|
||||||
_url_complete_handler = NULL;
|
_url_complete_handler = NULL;
|
||||||
_url_progress_download = NULL;
|
_url_progress_download = NULL;
|
||||||
|
if (_job_list)
|
||||||
ecore_list_destroy(_job_list);
|
ecore_list_destroy(_job_list);
|
||||||
_job_list = NULL;
|
_job_list = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue