ecore_con: Avoid safety errors when closing http

When setting EOS on the dialoer, it's possible that it will also get
automatically closed (by a callback). This results in safety check error
messages, while everything is fine (at least I believe it is).
This commit is contained in:
Jean-Philippe Andre 2017-12-18 11:59:57 +09:00
parent 784a5b56a3
commit a90746378d
1 changed files with 2 additions and 1 deletions

View File

@ -325,7 +325,8 @@ _efl_net_dialer_http_curlm_check(Efl_Net_Dialer_Http_Curlm *cm)
if (!efl_io_closer_closed_get(dialer))
{
efl_io_reader_eos_set(dialer, EINA_TRUE);
efl_io_closer_close(dialer);
if (!efl_io_closer_closed_get(dialer))
efl_io_closer_close(dialer);
}
}