forked from enlightenment/efl
* ecore_con_url: Workaround progress callback called by curl after
destruction of the Ecore_Con_Url object. SVN revision: 43228
This commit is contained in:
parent
b36917b180
commit
2829dfc366
|
@ -327,6 +327,10 @@ ecore_con_url_destroy(Ecore_Con_Url *url_con)
|
||||||
}
|
}
|
||||||
if (url_con->curl_easy)
|
if (url_con->curl_easy)
|
||||||
{
|
{
|
||||||
|
// FIXME: For an unknown reason, progress continue to arrive after destruction
|
||||||
|
// this prevent any further call to the callback.
|
||||||
|
curl_easy_setopt(url_con->curl_easy, CURLOPT_PROGRESSFUNCTION, NULL);
|
||||||
|
|
||||||
if (url_con->active)
|
if (url_con->active)
|
||||||
{
|
{
|
||||||
url_con->active = 0;
|
url_con->active = 0;
|
||||||
|
|
Loading…
Reference in New Issue