forked from enlightenment/efl
curlm must exist for this function to work, so remove the test.
Only and active Ecore_Con_Url is registered with curlm. SVN revision: 15528
This commit is contained in:
parent
d233c9ca43
commit
ee61e32cbd
|
@ -178,7 +178,7 @@ ecore_con_url_destroy(Ecore_Con_Url *url_con)
|
||||||
ecore_main_fd_handler_del(url_con->fd_handler);
|
ecore_main_fd_handler_del(url_con->fd_handler);
|
||||||
if (url_con->curl_easy)
|
if (url_con->curl_easy)
|
||||||
{
|
{
|
||||||
if (curlm)
|
if (url_con->active)
|
||||||
curl_multi_remove_handle(curlm, url_con->curl_easy);
|
curl_multi_remove_handle(curlm, url_con->curl_easy);
|
||||||
curl_easy_cleanup(url_con->curl_easy);
|
curl_easy_cleanup(url_con->curl_easy);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue