forked from enlightenment/efl
efl_net_dialer_http: only close if not closed yet.
since eos_set() emits an event the user may have closed from there.
This commit is contained in:
parent
b4ed72518d
commit
5c7b984746
|
@ -316,7 +316,8 @@ _efl_net_dialer_http_curlm_check(Efl_Net_Dialer_Http_Curlm *cm)
|
|||
else
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
_efl_net_dialer_http_curlm_check_finished_object_remove(&finished, dialer);
|
||||
|
|
Loading…
Reference in New Issue