forked from enlightenment/efl
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:
parent
784a5b56a3
commit
a90746378d
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue