forked from enlightenment/efl
ecore_con: Always get the loop on init
In case of init/shutdown/init cycles, the loop EO ID has changed, so it must be fetched again.
This commit is contained in:
parent
a90746378d
commit
81bad9f47c
|
@ -1202,7 +1202,7 @@ _efl_net_dialer_http_curl_start(Eo *o, Efl_Net_Dialer_Http_Data *pd)
|
||||||
// TODO: move this to be per-loop once multiple mainloops are supported
|
// TODO: move this to be per-loop once multiple mainloops are supported
|
||||||
// this would need to attach something to the loop
|
// this would need to attach something to the loop
|
||||||
cm = &_cm_global;
|
cm = &_cm_global;
|
||||||
if (!cm->loop) cm->loop = efl_loop_get(o);
|
cm->loop = efl_loop_get(o);
|
||||||
if (!_efl_net_dialer_http_curlm_add(cm, o, pd->easy))
|
if (!_efl_net_dialer_http_curlm_add(cm, o, pd->easy))
|
||||||
{
|
{
|
||||||
ERR("dialer=%p could not add curl easy handle to multi manager", o);
|
ERR("dialer=%p could not add curl easy handle to multi manager", o);
|
||||||
|
|
Loading…
Reference in New Issue