ecore_con: we should just stop using ecore_main_loop_get.
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 3 Jan 2018 20:49:10 +0000 (12:49 -0800)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 10 Jan 2018 11:08:13 +0000 (20:08 +0900)
src/lib/ecore_con/efl_net_dialer_http.c

index 5d667bb..9feb2c5 100644 (file)
@@ -863,7 +863,7 @@ _efl_net_dialer_http_curl_safe_end(Eo *o, Efl_Net_Dialer_Http_Data *pd, CURL *ea
    /* object deleted from CURL callback, CURL* easy was
     * dissociated and we must delete it ourselves.
     */
-   f = efl_loop_job(efl_main_loop_get());
+   f = efl_loop_job(efl_loop_get(o));
    eina_future_then_from_desc(f, eina_future_cb_easy(.success = _efl_net_dialer_http_curl_cleanup,
                                                      .error = _efl_net_dialer_http_curl_cleanup_error,
                                                      .data = easy));