This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit b36d223c172dcfd04d23079dc89777bcef1dc0a5
Author: Cedric BAIL <[email protected]>
AuthorDate: Sun Nov 8 15:38:11 2026 -0600

    eo: a promise never reaches the scheduler of an object that is gone
    
    A promise keeps the scheduler it was made with, and the scheduler of an
    object is released with the object. Two cases left it dangling:
    
     - a promise made on the scheduler of an object, and resolved after the
       object was deleted, scheduled on a released scheduler: its entry
       landed in a trashed scheduler, and in the one of the next object to
       take that memory from the trash;
     - the continue promise returned by the callback that deleted the
       object (_eina_promise_value_steal_and_link()) took the scheduler
       running that callback, which is released when the batch ends, and
       its entry was never run nor freed.
    
    Eina now lists the promises under the scheduler they hold, and
    __eina_promise_scheduler_cancel() takes them off that list. A promise
    with a future is canceled as eina_future_cancel() would: its owner is
    told, it is freed, then its chain is told. A promise without a future
    was not told and its owner may still resolve it, or hold it in a
    PROMISE value, so it is kept on a scheduler of Eina's that takes
    nothing, and freed at eina_promise_shutdown() if it never is.
    
    The scheduler calls it when its object goes, and once more when it is
    released, to catch what the last batch added. No lock is held while
    the callbacks run, so a thread resolving a promise of another scheduler
    is not blocked. _efl_object_invalidate() detaches its hashes before
    freeing them, because the cancel runs future callbacks that may ask the
    object for a scheduler again.
    
    A promise made and resolved on a live scheduler costs one list link and
    unlink. The new eo_bench promise cases, on a --buildtype=release build
    (median of 9 runs, 100000 operations, AMD Ryzen 7 6800U), go from 530
    to 490 ns for the cycle of promise, future, then, resolve and dispatch,
    which is within the noise, and from 152 to 156 ns for a promise and a
    future made and canceled on two alternating schedulers.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 src/benchmarks/eo/eo_bench.c           |   1 +
 src/benchmarks/eo/eo_bench.h           |   1 +
 src/benchmarks/eo/eo_bench_promise.c   |  77 ++++++
 src/benchmarks/eo/meson.build          |   1 +
 src/lib/eina/eina_internal.h           |  11 +
 src/lib/eina/eina_promise.c            | 260 ++++++++++++++++++-
 src/lib/eo/eo_base_class.c             |  81 ++++--
 src/tests/ecore/efl_app_test_promise.c | 443 +++++++++++++++++++++++++++++++++
 8 files changed, 851 insertions(+), 24 deletions(-)

diff --git a/src/benchmarks/eo/eo_bench.c b/src/benchmarks/eo/eo_bench.c
index 455fd9a9cd..6a79873cd9 100644
--- a/src/benchmarks/eo/eo_bench.c
+++ b/src/benchmarks/eo/eo_bench.c
@@ -22,6 +22,7 @@ static const Eina_Benchmark_Case etc[] = {
    { "eo_do", eo_bench_eo_do },
    { "efl_add", eo_bench_efl_add },
    { "eo_callbacks", eo_bench_callbacks },
+   { "eo_promise", eo_bench_promise },
    { NULL, NULL }
 };
 
diff --git a/src/benchmarks/eo/eo_bench.h b/src/benchmarks/eo/eo_bench.h
index 5fc14be271..6ccc3789f8 100644
--- a/src/benchmarks/eo/eo_bench.h
+++ b/src/benchmarks/eo/eo_bench.h
@@ -4,6 +4,7 @@
 void eo_bench_eo_do(Eina_Benchmark *bench);
 void eo_bench_efl_add(Eina_Benchmark *bench);
 void eo_bench_callbacks(Eina_Benchmark *bench);
+void eo_bench_promise(Eina_Benchmark *bench);
 
 #define _EO_BENCH_TIMES(Start, Repeat, Jump) (Start), ((Start) + ((Jump) * (Repeat))), (Jump)
 
diff --git a/src/benchmarks/eo/eo_bench_promise.c b/src/benchmarks/eo/eo_bench_promise.c
new file mode 100644
index 0000000000..1cc9fc0eaa
--- /dev/null
+++ b/src/benchmarks/eo/eo_bench_promise.c
@@ -0,0 +1,77 @@
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include "Eo.h"
+#include "eo_bench.h"
+#include "class_simple.h"
+
+static const Efl_Event_Description _dispatch_event = EFL_EVENT_DESCRIPTION("bench,dispatch");
+EFL_SCHEDULER_ARRAY_DEFINE(_dispatch_array, &_dispatch_event);
+
+static void
+_promise_cancel_cb(void *data EINA_UNUSED, const Eina_Promise *dead EINA_UNUSED)
+{
+}
+
+static Eina_Value
+_future_then_cb(void *data EINA_UNUSED, const Eina_Value v, const Eina_Future *dead EINA_UNUSED)
+{
+   return v;
+}
+
+static void
+bench_eo_promise_dispatch(int request)
+{
+   Eo *obj = efl_add_ref(SIMPLE_CLASS, NULL);
+   Eina_Future_Scheduler *scheduler = efl_event_future_scheduler_get(obj, _dispatch_array());
+   int i;
+
+   for (i = 0; i < request; i++)
+     {
+        Eina_Promise *p = eina_promise_new(scheduler, _promise_cancel_cb, NULL);
+        Eina_Future *f = eina_future_new(p);
+
+        eina_future_then(f, _future_then_cb, NULL);
+        eina_promise_resolve(p, eina_value_int_init(i));
+        efl_event_callback_call(obj, &_dispatch_event, NULL);
+     }
+
+   efl_unref(obj);
+}
+
+static void
+bench_eo_promise_cancel(int request)
+{
+   Eo *obj[2];
+   Eina_Future_Scheduler *scheduler[2];
+   int i;
+
+   for (i = 0; i < 2; i++)
+     {
+        obj[i] = efl_add_ref(SIMPLE_CLASS, NULL);
+        scheduler[i] = efl_event_future_scheduler_get(obj[i], _dispatch_array());
+     }
+
+   for (i = 0; i < request; i++)
+     {
+        Eina_Promise *p = eina_promise_new(scheduler[i & 1], _promise_cancel_cb, NULL);
+        Eina_Future *f = eina_future_new(p);
+
+        eina_future_then(f, _future_then_cb, NULL);
+        eina_future_cancel(f);
+     }
+
+   for (i = 0; i < 2; i++)
+     {
+        efl_unref(obj[i]);
+     }
+}
+
+void eo_bench_promise(Eina_Benchmark *bench)
+{
+   eina_benchmark_register(bench, "dispatch",
+         EINA_BENCHMARK(bench_eo_promise_dispatch), _EO_BENCH_TIMES(20000, 5, 20000));
+   eina_benchmark_register(bench, "cancel",
+         EINA_BENCHMARK(bench_eo_promise_cancel), _EO_BENCH_TIMES(20000, 5, 20000));
+}
diff --git a/src/benchmarks/eo/meson.build b/src/benchmarks/eo/meson.build
index 971359ceb1..e122f5570d 100644
--- a/src/benchmarks/eo/meson.build
+++ b/src/benchmarks/eo/meson.build
@@ -4,6 +4,7 @@ eo_benchmark_src = [
   'eo_bench.c',
   'eo_bench.h',
   'eo_bench_callbacks.c',
+  'eo_bench_promise.c',
   'eo_bench_eo_do.c',
   'eo_bench_eo_add.c'
 ]
diff --git a/src/lib/eina/eina_internal.h b/src/lib/eina/eina_internal.h
index 2ad977b22d..765ff2e06d 100644
--- a/src/lib/eina/eina_internal.h
+++ b/src/lib/eina/eina_internal.h
@@ -42,6 +42,17 @@ EINA_API void __eina_promise_cancel_all(void);
 
 EINA_API void __eina_promise_cancel_data(void *data);
 
+/**
+ * Cancels the promises made with a scheduler that is going away, as if
+ * eina_future_cancel() had been called on their futures. Returns how many
+ * there were.
+ *
+ * Internal function. Do not use.
+ *
+ * @internal
+ */
+EINA_API unsigned int __eina_promise_scheduler_cancel(Eina_Future_Scheduler *scheduler);
+
 /**
  * Make the app specific paths accessible as virtual path
  *
diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index bf6d5b47eb..f287a59f2f 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -9,6 +9,8 @@
 #include "eina_promise_private.h"
 #include "eina_internal.h"
 #include "eina_iterator.h"
+#include "eina_inlist.h"
+#include "eina_hash.h"
 
 #include <errno.h>
 #include <stdarg.h>
@@ -101,10 +103,14 @@
 #define _eina_promise_value_dbg(_msg, _p, _v) __eina_promise_value_dbg(_msg, _p, _v, __LINE__, __func__)
 
 struct _Eina_Promise {
+   // The promises that share a scheduler are listed under it (see
+   // _promise_track()), so that they can be canceled when it goes.
+   EINA_INLIST;
    Eina_Future *future;
    Eina_Future_Scheduler *scheduler;
    Eina_Promise_Cancel_Cb cancel;
    const void *data;
+   Eina_Bool tracked : 1;
 };
 
 struct _Eina_Future {
@@ -125,6 +131,125 @@ static int _promise_log_dom = -1;
 
 static void _eina_promise_cancel(Eina_Promise *p);
 
+// The promises of a scheduler. A promise keeps the scheduler it was made with,
+// and the scheduler of an object does not outlive the object: a promise that is
+// resolved after that would schedule on a scheduler that is gone (or, once its
+// memory is reused, on the scheduler of another object). The scheduler tells
+// us when it goes, with __eina_promise_scheduler_cancel(), and what it still
+// has is canceled. All of it is under _promise_track_lock, a spinlock: it is
+// taken for a few pointers, twice for every promise, and never held while
+// anything else is called (the callbacks of a cancel run with no lock of ours
+// held, so that a thread that resolves a promise meanwhile is not blocked).
+//
+// A track stays, empty, until its scheduler tells us it goes or Eina shuts
+// down: a scheduler that is not an eo one never tells us, so each distinct
+// scheduler address costs a hash entry and a few bytes until Eina shuts down.
+// That is bounded by the number of schedulers a program ever makes.
+//
+// A promise taken from a scheduler that goes is not freed (see
+// __eina_promise_scheduler_cancel()): its owner may still resolve it.
+typedef struct _Promise_Track
+{
+   Eina_Inlist *promises;
+} Promise_Track;
+
+static Eina_Spinlock _promise_track_lock;
+// (NULL when the lock or the hash could not be made: nothing is tracked then,
+// and the lock is never taken)
+static Eina_Hash *_promise_tracks = NULL;
+static Eina_Future_Scheduler *_promise_track_last_scheduler = NULL;
+static Promise_Track *_promise_track_last = NULL;
+
+// What the promises of a scheduler that went are given: it takes nothing, and
+// the future that would have been scheduled is canceled.
+static Eina_Future_Schedule_Entry *
+_released_schedule(Eina_Future_Scheduler *scheduler EINA_UNUSED,
+                   Eina_Future_Scheduler_Cb cb EINA_UNUSED,
+                   Eina_Future *f EINA_UNUSED, Eina_Value value EINA_UNUSED)
+{
+   return NULL;
+}
+
+static void
+_released_recall(Eina_Future_Schedule_Entry *entry EINA_UNUSED)
+{
+}
+
+static Eina_Future_Scheduler _released_scheduler = {
+   .schedule = _released_schedule,
+   .recall = _released_recall
+};
+
+static Promise_Track *
+_promise_track_find(Eina_Future_Scheduler *scheduler)
+{
+   Promise_Track *t;
+
+   if (scheduler == _promise_track_last_scheduler) return _promise_track_last;
+   t = eina_hash_find(_promise_tracks, &scheduler);
+   if (t)
+     {
+        _promise_track_last_scheduler = scheduler;
+        _promise_track_last = t;
+     }
+   return t;
+}
+
+static Eina_Bool
+_promise_track(Eina_Promise *p)
+{
+   Promise_Track *t;
+
+   // (not being able to track is not an error: the promise works as before)
+   if (!_promise_tracks) return EINA_FALSE;
+   eina_spinlock_take(&_promise_track_lock);
+   t = _promise_track_find(p->scheduler);
+   if (!t)
+     {
+        t = calloc(1, sizeof(Promise_Track));
+        if (t && !eina_hash_add(_promise_tracks, &p->scheduler, t))
+          {
+             free(t);
+             t = NULL;
+          }
+        if (t)
+          {
+             _promise_track_last_scheduler = p->scheduler;
+             _promise_track_last = t;
+          }
+     }
+   if (t)
+     {
+        t->promises = eina_inlist_append(t->promises, EINA_INLIST_GET(p));
+        p->tracked = EINA_TRUE;
+     }
+   eina_spinlock_release(&_promise_track_lock);
+   return !!t;
+}
+
+static void
+_promise_untrack(Eina_Promise *p)
+{
+   Promise_Track *t;
+
+   if (!p->tracked || !_promise_tracks) return;
+   eina_spinlock_take(&_promise_track_lock);
+   t = _promise_track_find(p->scheduler);
+   // (the track stays when its list is empty: promises are made and resolved
+   // one after the other on the same scheduler, and making it again each time
+   // costs more than the promise. It goes with the scheduler, or with Eina.)
+   if (t) t->promises = eina_inlist_remove(t->promises, EINA_INLIST_GET(p));
+   p->tracked = EINA_FALSE;
+   eina_spinlock_release(&_promise_track_lock);
+}
+
+static void
+_eina_promise_free(Eina_Promise *p)
+{
+   _promise_untrack(p);
+   eina_mempool_free(_promise_mp, p);
+}
+
 static Eina_Value_Struct_Member RACE_STRUCT_MEMBERS[] = {
   EINA_VALUE_STRUCT_MEMBER(NULL, Eina_Future_Race_Result, value),
   EINA_VALUE_STRUCT_MEMBER(NULL, Eina_Future_Race_Result, index),
@@ -312,9 +437,12 @@ static void
 _eina_promise_cancel(Eina_Promise *p)
 {
    DBG("Cancelling promise: %p, data: %p, future: %p", p, p->data, p->future);
+   // (out of its scheduler's list before its callback runs: a cancel of that
+   // scheduler from the callback must not find it again)
+   _promise_untrack(p);
    _eina_promise_unlink(p);
    p->cancel((void *)p->data, p);
-   eina_mempool_free(_promise_mp, p);
+   _eina_promise_free(p);
 }
 
 static void
@@ -326,7 +454,11 @@ _eina_promise_value_steal_and_link(Eina_Future_Scheduler *scheduler,
    DBG("Promise %p stolen from value", p);
    eina_value_flush(&value);
    // In the case of continue promise, define a scheduler when steal&link
-   if (!p->scheduler) p->scheduler = scheduler;
+   if (!p->scheduler)
+     {
+        p->scheduler = scheduler;
+        _promise_track(p);
+     }
    if (f) _eina_promise_link(p, f);
    else _eina_promise_unlink(p);
 }
@@ -500,6 +632,13 @@ _eina_future_schedule(Eina_Promise *p,
         ERR("Trying to resolve a continue promise during a future callback. Directly return Eina_Value instead.");
         goto err;
      }
+   if (p->scheduler == &_released_scheduler)
+     {
+        // its scheduler went before the future was attached or the promise resolved
+        _eina_future_cancel(f, ECANCELED);
+        eina_value_flush(&value);
+        return;
+     }
    f->scheduled_entry = p->scheduler->schedule(p->scheduler,
                                                _scheduled_entry_cb,
                                                f, value);
@@ -533,7 +672,7 @@ _eina_promise_deliver(Eina_Promise *p,
         DBG("Promise %p has no future", p);
         eina_value_flush(&value);
      }
-   eina_mempool_free(_promise_mp, p);
+   _eina_promise_free(p);
 }
 
 Eina_Bool
@@ -562,6 +701,12 @@ eina_promise_init(void)
    EINA_SAFETY_ON_NULL_GOTO(_future_mp, err_future);
 
    eina_lock_recursive_new(&_pending_futures_lock);
+   // (no tracking if this fails: promises work as they did)
+   if (eina_spinlock_new(&_promise_track_lock))
+     {
+        _promise_tracks = eina_hash_pointer_new(NULL);
+        if (!_promise_tracks) eina_spinlock_free(&_promise_track_lock);
+     }
 
    return EINA_TRUE;
 
@@ -583,6 +728,77 @@ __eina_promise_cancel_all(void)
    eina_lock_release(&_pending_futures_lock);
 }
 
+EINA_API unsigned int
+__eina_promise_scheduler_cancel(Eina_Future_Scheduler *scheduler)
+{
+   unsigned int count = 0;
+
+   EINA_SAFETY_ON_NULL_RETURN_VAL(scheduler, 0);
+   if (!_promise_tracks) return 0;
+
+   // Each promise leaves the list under the lock, then is handled with none
+   // held: its callbacks, and those of its futures, run free (a cancel callback
+   // may free other promises, or ask for this scheduler again). This is not
+   // thread safe against a thread that resolves one of these promises at the
+   // same time (the promise is read and written without a lock once it left the
+   // list); what it does is not to hold the lock of the futures, which such a
+   // thread, resolving a promise of another scheduler, takes.
+   for (;;)
+     {
+        Promise_Track *t;
+        Eina_Promise *p = NULL;
+
+        eina_spinlock_take(&_promise_track_lock);
+        t = _promise_track_find(scheduler);
+        if (t && t->promises)
+          {
+             p = EINA_INLIST_CONTAINER_GET(t->promises, Eina_Promise);
+             t->promises = eina_inlist_remove(t->promises, EINA_INLIST_GET(p));
+             p->tracked = EINA_FALSE;
+          }
+        else if (t)
+          {
+             // nothing left, and the scheduler is going: its track goes too
+             eina_hash_del(_promise_tracks, &scheduler, t);
+             if (_promise_track_last == t)
+               {
+                  _promise_track_last = NULL;
+                  _promise_track_last_scheduler = NULL;
+               }
+             free(t);
+          }
+        eina_spinlock_release(&_promise_track_lock);
+        if (!p) break;
+
+        count++;
+        if (p->future)
+          {
+             // As eina_future_cancel() does: the owner is told (and, by the
+             // contract of the cancel callback, lets go of the promise), the
+             // promise is freed, then the chain is told. Nothing is kept: a
+             // program that makes promises for objects that die would grow.
+             Eina_Future *f = p->future;
+
+             _eina_promise_unlink(p);
+             p->cancel((void *)p->data, p);
+             eina_mempool_free(_promise_mp, p);
+             _eina_future_cancel(f, ECANCELED);
+          }
+        else
+          {
+             // No future: its owner was not told and may resolve it later (it
+             // may also sit in a PROMISE value). It is kept, with the scheduler
+             // of the ones that went, listed under it so that Eina frees what is
+             // never resolved when it shuts down. If it cannot be listed (no
+             // memory) it stays unlisted and leaks if it is never resolved:
+             // freeing it would leave its owner a dangling promise.
+             p->scheduler = &_released_scheduler;
+             _promise_track(p);
+          }
+     }
+   return count;
+}
+
 EINA_API void
 __eina_promise_cancel_data(void *data)
 {
@@ -608,6 +824,35 @@ Eina_Bool
 eina_promise_shutdown(void)
 {
    __eina_promise_cancel_all();
+   if (_promise_tracks)
+     {
+        Eina_Iterator *it;
+        Eina_Future_Scheduler *released = &_released_scheduler;
+        Promise_Track *rt = eina_hash_find(_promise_tracks, &released);
+
+        // the promises that were taken from schedulers that went, and that
+        // their owners never resolved
+        while (rt && rt->promises)
+          {
+             Eina_Promise *p = EINA_INLIST_CONTAINER_GET(rt->promises, Eina_Promise);
+
+             rt->promises = eina_inlist_remove(rt->promises, EINA_INLIST_GET(p));
+             eina_mempool_free(_promise_mp, p);
+          }
+        it = eina_hash_iterator_data_new(_promise_tracks);
+        Promise_Track *t;
+
+        EINA_ITERATOR_FOREACH(it, t)
+          {
+             free(t);
+          }
+        eina_iterator_free(it);
+        eina_hash_free(_promise_tracks);
+        _promise_tracks = NULL;
+        _promise_track_last = NULL;
+        _promise_track_last_scheduler = NULL;
+        eina_spinlock_free(&_promise_track_lock);
+     }
    eina_lock_free(&_pending_futures_lock);
    eina_mempool_del(_future_mp);
    eina_mempool_del(_promise_mp);
@@ -657,7 +902,7 @@ _eina_promise_clean_dispatch(Eina_Promise *p, Eina_Value v)
         // Nobody is going to flush this value if we don't
         eina_value_flush(&v);
      }
-   eina_mempool_free(_promise_mp, p);
+   _eina_promise_free(p);
 }
 
 /* The two sides of eina_future_as_value, and what one knows about the other.
@@ -822,6 +1067,7 @@ eina_promise_new(Eina_Future_Scheduler *scheduler,
    p->cancel = cancel_cb;
    p->data = ""
    p->scheduler = scheduler;
+   _promise_track(p);
    DBG("Creating new promise - Promise:%p, cb: %p, data:%p", p,
        p->cancel, p->data);
    return p;
@@ -1413,7 +1659,7 @@ promise_proxy_of_future_array_create(Eina_Future *array[],
    ctx->futures = NULL;
  err_futures:
    ctx->futures_len = 0;
-   eina_mempool_free(_promise_mp, ctx->promise);
+   _eina_promise_free(ctx->promise);
    ctx->promise = NULL;
    return EINA_FALSE;
 }
@@ -1473,7 +1719,7 @@ eina_promise_all_iterator(Eina_Iterator *it)
    free(ctx->base.futures);
    ctx->base.futures = NULL;
 
-   eina_mempool_free(_promise_mp, ctx->base.promise);
+   _eina_promise_free(ctx->base.promise);
    eina_value_flush(&ctx->values);
  err_array:
    free(ctx);
@@ -1515,7 +1761,7 @@ eina_promise_all_array(Eina_Future *array[])
  err_stub:
    for (i = 0; i < ctx->base.futures_len; i++) _eina_future_free(ctx->base.futures[i]);
    free(ctx->base.futures);
-   eina_mempool_free(_promise_mp, ctx->base.promise);
+   _eina_promise_free(ctx->base.promise);
  err_promise:
    eina_value_flush(&ctx->values);
  err_array:
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 390dfb930f..7ca3416161 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -11,6 +11,7 @@
 #include "eo_ptr_indirection.h"
 #include "eo_private.h"
 #include "eina_promise_private.h"
+#include "eina_internal.h"
 
 EO_API const Efl_Event_Description _EFL_EVENT_CALLBACK_ADD =
     EFL_EVENT_DESCRIPTION_HOT("callback,add");
@@ -186,23 +187,35 @@ _efl_object_invalidate(Eo *obj_id, Efl_Object_Data *pd)
 {
    _efl_pending_futures_clear(pd);
 
+   // The hashes are detached before they are freed: what their free callbacks
+   // run (the cancel of a scheduler calls the callbacks of futures, which may
+   // ask this object for a scheduler again) must not find the hash that is
+   // being freed.
    if (pd->ext && pd->ext->forwarders)
      {
-        eina_hash_free(pd->ext->forwarders);
+        Eina_Hash *h = pd->ext->forwarders;
+
         pd->ext->forwarders = NULL;
+        eina_hash_free(h);
         _efl_object_extension_noneed(pd);
      }
 
    if (pd->ext && pd->ext->providers)
      {
-        eina_hash_free(pd->ext->providers);
+        Eina_Hash *h = pd->ext->providers;
+
         pd->ext->providers = NULL;
+        eina_hash_free(h);
         _efl_object_extension_noneed(pd);
      }
-   if (pd->ext && pd->ext->schedulers)
+   // (a scheduler that is asked for by a callback of the cancel is a new one,
+   // in a new hash, that goes the same way)
+   while (pd->ext && pd->ext->schedulers)
      {
-        eina_hash_free(pd->ext->schedulers);
+        Eina_Hash *h = pd->ext->schedulers;
+
         pd->ext->schedulers = NULL;
+        eina_hash_free(h);
         _efl_object_extension_noneed(pd);
      }
 
@@ -1842,6 +1855,8 @@ static unsigned char schedulers_count = 0;
 static void
 _future_scheduler_cleanup(Efl_Object_Data *pd)
 {
+   // (nothing to do while the hash is being freed: it was detached)
+   if (!pd->ext || !pd->ext->schedulers) return;
    if (eina_hash_population(pd->ext->schedulers)) return ;
 
    eina_hash_free(pd->ext->schedulers);
@@ -1849,9 +1864,44 @@ _future_scheduler_cleanup(Efl_Object_Data *pd)
    _efl_object_extension_noneed(pd);
 }
 
+// Cancels the entries that wait for a batch, the first one of the list each
+// time: what a callback of the cancel adds, adds to the list.
+static void
+_future_scheduler_entries_cancel(Efl_Future_Scheduler *sched)
+{
+   Eina_List *entries = sched->futures;
+   Efl_Future_Scheduler_Entry *entry;
+
+   sched->futures = NULL;
+   EINA_LIST_FREE(entries, entry)
+     {
+        eina_future_cancel(entry->future);
+        // The cancel recalled the entry, which flushed its value.
+        if (!entry->recalled) eina_value_flush(&entry->value);
+        eina_mempool_free(_efl_future_scheduler_entry_mempool, entry);
+     }
+}
+
+// The scheduler of an object that is gone gives nothing to the futures and
+// promises that still hold it: they are canceled, so that none of them reaches
+// it afterwards (once it is back in the trash, it is the scheduler of the next
+// object that asks for one).
+static void
+_future_scheduler_flush(Efl_Future_Scheduler *sched)
+{
+   do
+     {
+        _future_scheduler_entries_cancel(sched);
+     }
+   while (__eina_promise_scheduler_cancel(&sched->scheduler) || sched->futures);
+}
+
 static void
 _future_scheduler_release(Efl_Future_Scheduler *sched)
 {
+   // (promises that were made with it after it was deleted, or that a callback
+   // of its last batch returned, are only found now)
+   _future_scheduler_flush(sched);
    if (schedulers_count > 8)
      {
         free(sched);
@@ -1910,20 +1960,15 @@ static void
 _futures_cancel_cb(void *data)
 {
    Efl_Future_Scheduler *sched = data;
-   Eina_List *entries = sched->futures;
-   Efl_Future_Scheduler_Entry *entry;
 
+   // From here on nothing is scheduled on it (see _efl_event_future_scheduler()).
+   sched->dead = EINA_TRUE;
    efl_event_callback_array_del((Eo *) sched->self, sched->array, sched);
    sched->listener = EINA_FALSE;
-   sched->futures = NULL;
 
-   EINA_LIST_FREE(entries, entry)
-     {
-        eina_future_cancel(entry->future);
-        // The cancel recalled the entry, which flushed its value.
-        if (!entry->recalled) eina_value_flush(&entry->value);
-        eina_mempool_free(_efl_future_scheduler_entry_mempool, entry);
-     }
+   _future_scheduler_entries_cancel(sched);
+   // The promises it was made for, whose futures wait for a value.
+   __eina_promise_scheduler_cancel(&sched->scheduler);
 
    if (sched->dispatching)
      {
@@ -1931,9 +1976,9 @@ _futures_cancel_cb(void *data)
         // of that batch that did not run are canceled (the loop skips them
         // and frees them), and the scheduler is freed by the loop when done.
         Efl_Future_Batch *b;
+        Efl_Future_Scheduler_Entry *entry;
         Eina_List *l;
 
-        sched->dead = EINA_TRUE;
         for (b = sched->batches; b; b = b->prev)
           {
              EINA_LIST_FOREACH(b->entries, l, entry)
@@ -1966,7 +2011,9 @@ _efl_event_future_scheduler(Eina_Future_Scheduler *s_sched,
    entry->called = 0;
    entry->recalled = EINA_FALSE;
 
-   if (!sched->listener)
+   // A scheduler that is deleted has no object to listen on: what is put in it
+   // is canceled when it is released.
+   if (!sched->listener && !sched->dead)
      {
         efl_event_callback_array_add((Eo *) sched->self, sched->array, sched);
         sched->listener = EINA_TRUE;
@@ -2001,7 +2048,7 @@ _efl_event_future_recall(Eina_Future_Schedule_Entry *s_entry)
 
    sched->futures = eina_list_remove_list(sched->futures, lookup);
    // (a scheduler that runs a batch is not cleaned up from under it)
-   if (!sched->futures && !sched->dispatching)
+   if (!sched->futures && !sched->dispatching && !sched->dead)
      {
         Efl_Object_Data *pd = efl_data_scope_get(sched->self, EFL_OBJECT_CLASS);
 
diff --git a/src/tests/ecore/efl_app_test_promise.c b/src/tests/ecore/efl_app_test_promise.c
index cd0fe06e4e..66525c9e36 100644
--- a/src/tests/ecore/efl_app_test_promise.c
+++ b/src/tests/ecore/efl_app_test_promise.c
@@ -4,8 +4,10 @@
 
 #include <stdio.h>
 #include <unistd.h>
+#include <pthread.h>
 #define EFL_NOLEGACY_API_SUPPORT
 #include <Efl_Core.h>
+#include "eina_internal.h"
 #include "efl_app_suite.h"
 #include "../efl_check.h"
 
@@ -897,6 +899,440 @@ EFL_START_TEST(efl_test_promise_future_owner_destroyed_in_nested_batch)
 }
 EFL_END_TEST
 
+typedef struct _Promise_Owner_Ctx
+{
+   Owned_Ctx base;
+   Eina_Promise *promise;
+   int promise_canceled;
+   int errors;
+} Promise_Owner_Ctx;
+
+static void
+_promise_owner_cancel(void *data, const Eina_Promise *dead EINA_UNUSED)
+{
+   Promise_Owner_Ctx *ctx = data;
+
+   ctx->promise_canceled++;
+   ctx->promise = NULL;
+}
+
+static void
+_promise_owner_cancel_count(void *data, const Eina_Promise *dead EINA_UNUSED)
+{
+   Promise_Owner_Ctx *ctx = data;
+
+   ctx->promise_canceled++;
+}
+
+static void
+_promise_owner_log(const Eina_Log_Domain *d EINA_UNUSED, Eina_Log_Level level,
+                   const char *file EINA_UNUSED, const char *fnc EINA_UNUSED, int line EINA_UNUSED,
+                   const char *fmt EINA_UNUSED, void *data, va_list args EINA_UNUSED)
+{
+   Promise_Owner_Ctx *ctx = data;
+
+   if (level <= EINA_LOG_LEVEL_ERR) ctx->errors++;
+}
+
+// A promise made with the scheduler of an object, whose future waits for the
+// value, when the object goes: the promise keeps the scheduler it was made with,
+// and resolving it afterwards would schedule on one that is released (and
+// reused for the next object that asks for one). It is canceled with the
+// scheduler instead: the future is told, and so is the owner of the promise.
+EFL_START_TEST(efl_test_promise_future_promise_outlives_owner)
+{
+   Promise_Owner_Ctx ctx = { { 0 }, NULL, 0, 0 };
+   Eo *parent;
+   Eina_Future *f;
+
+   fail_if(!ecore_init());
+   parent = efl_add_ref(EFL_IO_BUFFER_CLASS, NULL);
+   ctx.base.owner = efl_add(EFL_IO_BUFFER_CLASS, parent);
+   fail_if(!ctx.base.owner);
+
+   ctx.promise = eina_promise_new(efl_event_future_scheduler_get(ctx.base.owner, _owned_sched()),
+                                  _promise_owner_cancel, &ctx);
+   fail_if(!ctx.promise);
+   f = eina_future_new(ctx.promise);
+   fail_if(!f);
+   fail_if(!eina_future_then(f, _owned_other, &ctx.base));
+
+   eina_log_print_cb_set(_promise_owner_log, &ctx);
+   efl_parent_set(ctx.base.owner, NULL);
+   eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
+
+   // the future was told, once, that it is canceled; so was the promise
+   ck_assert_int_eq(ctx.base.ran, 1);
+   ck_assert_int_eq(ctx.base.canceled, 1);
+   ck_assert_int_eq(ctx.promise_canceled, 1);
+   ck_assert_ptr_eq(ctx.promise, NULL);
+   ck_assert_int_eq(ctx.errors, 0);
+   efl_unref(parent);
+   ecore_shutdown();
+}
+EFL_END_TEST
+
+static Eina_Value
+_cont_first(void *data, const Eina_Value v EINA_UNUSED, const Eina_Future *dead)
+{
+   Promise_Owner_Ctx *ctx = data;
+
+   ctx->base.first_ran++;
+   // The callback that deletes the owner returns a promise to continue with: it
+   // gets the scheduler that is running it, and that one is released with the batch.
+   efl_parent_set(ctx->base.owner, NULL);
+   ctx->promise = eina_promise_continue_new(dead, _promise_owner_cancel, ctx);
+   return eina_promise_as_value(ctx->promise);
+}
+
+EFL_START_TEST(efl_test_promise_future_continue_after_owner)
+{
+   Promise_Owner_Ctx ctx = { { 0 }, NULL, 0, 0 };
+   Eina_Promise *p;
+   Eina_Future *f;
+   Eina_Value v;
+   Eo *parent;
+
+   fail_if(!ecore_init());
+   parent = efl_add_ref(EFL_IO_BUFFER_CLASS, NULL);
+   ctx.base.owner = efl_add(EFL_IO_BUFFER_CLASS, parent);
+   fail_if(!ctx.base.owner);
+
+   p = eina_promise_new(efl_event_future_scheduler_get(ctx.base.owner, _owned_sched()),
+                        _batch_promise_cancel, NULL);
+   fail_if(!p);
+   f = eina_future_new(p);
+   fail_if(!f);
+   fail_if(!eina_future_chain(f, {.cb = _cont_first, .data = ""
+                              {.cb = _owned_other, .data = ""
+   fail_if(!eina_value_setup(&v, EINA_VALUE_TYPE_INT));
+   fail_if(!eina_value_set(&v, 1));
+   eina_promise_resolve(p, v);
+
+   eina_log_print_cb_set(_promise_owner_log, &ctx);
+   efl_event_callback_call(ctx.base.owner, &_owned_sched_event, NULL);
+   eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
+
+   ck_assert_int_eq(ctx.base.first_ran, 1);
+   // the continuation was canceled with the scheduler that was releasing: the
+   // future that waited for it is told, and so is the owner of the promise
+   ck_assert_int_eq(ctx.base.ran, 1);
+   ck_assert_int_eq(ctx.base.canceled, 1);
+   ck_assert_int_eq(ctx.promise_canceled, 1);
+   ck_assert_int_eq(ctx.errors, 0);
+   efl_unref(parent);
+   ecore_shutdown();
+}
+EFL_END_TEST
+
+// A callback of a future that is canceled because its object goes asks that
+// very object for its schedulers (as efl_loop_job() of a loop that is going
+// does): nothing may read the hash of schedulers that is being freed. The object
+// has two, so that whichever is canceled last asks for the one that is gone.
+static const Efl_Event_Description _owned_sched2_event = EFL_EVENT_DESCRIPTION("test,owned,sched2");
+EFL_SCHEDULER_ARRAY_DEFINE(_owned_sched2, &_owned_sched2_event);
+
+static Eina_Value
+_cancel_asks_scheduler(void *data, const Eina_Value v, const Eina_Future *dead EINA_UNUSED)
+{
+   Owned_Ctx *ctx = data;
+   Eina_Error err = 0;
+
+   if (eina_value_type_get(&v) == EINA_VALUE_TYPE_ERROR)
+     {
+        eina_value_get(&v, &err);
+        if (err == ECANCELED) ctx->canceled++;
+     }
+   ctx->ran++;
+   // (the callback of the future it asks for does not ask again)
+   if (ctx->nested_ran++ < 2)
+     {
+        Eina_Promise *p;
+
+        p = eina_promise_new(efl_event_future_scheduler_get(ctx->owner, _owned_sched()),
+                             _batch_promise_cancel, NULL);
+        fail_if(!p);
+        fail_if(!eina_future_then(eina_future_new(p), _owned_other, ctx));
+        p = eina_promise_new(efl_event_future_scheduler_get(ctx->owner, _owned_sched2()),
+                             _batch_promise_cancel, NULL);
+        fail_if(!p);
+        fail_if(!eina_future_then(eina_future_new(p), _owned_other, ctx));
+     }
+   return EINA_VALUE_EMPTY;
+}
+
+static void
+_owned_future2(Eo *owner, Eina_Future_Cb cb, Owned_Ctx *ctx)
+{
+   Eina_Promise *p = eina_promise_new(efl_event_future_scheduler_get(owner, _owned_sched2()),
+                                      _batch_promise_cancel, NULL);
+   Eina_Future *f;
+
+   fail_if(!p);
+   f = eina_future_then(eina_future_new(p), cb, ctx);
+   fail_if(!f);
+   eina_promise_resolve(p, eina_value_int_init(1));
+}
+
+EFL_START_TEST(efl_test_promise_future_cancel_asks_scheduler)
+{
+   Owned_Ctx ctx = { 0 };
+   Eo *parent;
+
+   fail_if(!ecore_init());
+   parent = efl_add_ref(EFL_IO_BUFFER_CLASS, NULL);
+   ctx.owner = efl_add(EFL_IO_BUFFER_CLASS, parent);
+   fail_if(!ctx.owner);
+   _owned_future(ctx.owner, _cancel_asks_scheduler, &ctx, "first");
+   _owned_future2(ctx.owner, _cancel_asks_scheduler, &ctx);
+   eina_log_print_cb_set(_owned_log, &ctx);
+   efl_parent_set(ctx.owner, NULL);
+   eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
+   // the two futures were canceled; each asked for two, and those were canceled
+   // too (without asking again)
+   ck_assert_int_eq(ctx.canceled, 6);
+   ck_assert_int_eq(ctx.errors, 0);
+   efl_unref(parent);
+   ecore_shutdown();
+}
+EFL_END_TEST
+
+typedef struct _Reentrant_Ctx
+{
+   Eina_Future_Scheduler *scheduler;
+   int canceled[2];
+} Reentrant_Ctx;
+
+typedef struct _Reentrant_Promise
+{
+   Reentrant_Ctx *ctx;
+   int index;
+} Reentrant_Promise;
+
+static void
+_reentrant_promise_cancel(void *data, const Eina_Promise *dead EINA_UNUSED)
+{
+   Reentrant_Promise *rp = data;
+
+   rp->ctx->canceled[rp->index]++;
+   // the first one cancels the scheduler again from its callback
+   if (rp->index == 0) __eina_promise_scheduler_cancel(rp->ctx->scheduler);
+}
+
+// A promise is out of the list of its scheduler before its cancel callback
+// runs: the cancel of the scheduler from that callback does not take it twice.
+EFL_START_TEST(efl_test_promise_future_cancel_reentrant)
+{
+   Reentrant_Ctx ctx = { 0 };
+   Reentrant_Promise rp[2] = { { &ctx, 0 }, { &ctx, 1 } };
+   Owned_Ctx owned = { 0 };
+   Eina_Promise *p;
+   Eo *parent;
+   int i;
+
+   fail_if(!ecore_init());
+   parent = efl_add_ref(EFL_IO_BUFFER_CLASS, NULL);
+   owned.owner = efl_add(EFL_IO_BUFFER_CLASS, parent);
+   fail_if(!owned.owner);
+   ctx.scheduler = efl_event_future_scheduler_get(owned.owner, _owned_sched());
+   for (i = 0; i < 2; i++)
+     {
+        p = eina_promise_new(ctx.scheduler, _reentrant_promise_cancel, &rp[i]);
+        fail_if(!p);
+        fail_if(!eina_future_then(eina_future_new(p), _owned_other, &owned));
+     }
+   efl_parent_set(owned.owner, NULL);
+   ck_assert_int_eq(ctx.canceled[0], 1);
+   ck_assert_int_eq(ctx.canceled[1], 1);
+   ck_assert_int_eq(owned.canceled, 2);
+   efl_unref(parent);
+   ecore_shutdown();
+}
+EFL_END_TEST
+
+// A thread that resolves a promise while the scheduler of another one is
+// canceling it blocks on no lock of the cancel.
+typedef struct _Thread_Sched
+{
+   Eina_Future_Scheduler base;
+   Eina_Future_Schedule_Entry entry;
+} Thread_Sched;
+
+static Eina_Future_Schedule_Entry *
+_thread_sched_schedule(Eina_Future_Scheduler *s, Eina_Future_Scheduler_Cb cb EINA_UNUSED,
+                       Eina_Future *f EINA_UNUSED, Eina_Value value)
+{
+   Thread_Sched *ts = (Thread_Sched *)s;
+
+   eina_value_flush(&value);
+   ts->entry.scheduler = s;
+   return &ts->entry;
+}
+
+static void
+_thread_sched_recall(Eina_Future_Schedule_Entry *entry EINA_UNUSED)
+{
+}
+
+typedef struct _Thread_Ctx
+{
+   Eina_Promise *promise;
+   pthread_t thread;
+   int canceled;
+} Thread_Ctx;
+
+static void *
+_resolver_thread(void *data)
+{
+   Thread_Ctx *tc = data;
+
+   eina_promise_resolve(tc->promise, eina_value_int_init(1));
+   return NULL;
+}
+
+static void
+_waits_for_thread_cancel(void *data, const Eina_Promise *dead EINA_UNUSED)
+{
+   Thread_Ctx *tc = data;
+
+   tc->canceled++;
+   // the other thread resolves a promise: it needs the lock of the futures
+   pthread_create(&tc->thread, NULL, _resolver_thread, tc);
+   pthread_join(tc->thread, NULL);
+}
+
+EFL_START_TEST(efl_test_promise_future_cancel_no_lock_across_callbacks)
+{
+   Thread_Sched ts = { { _thread_sched_schedule, _thread_sched_recall }, { NULL } };
+   Thread_Ctx tc = { 0 };
+   Owned_Ctx owned = { 0 };
+   Eina_Promise *p;
+   Eina_Future *f;
+   Eo *parent;
+
+   fail_if(!ecore_init());
+   parent = efl_add_ref(EFL_IO_BUFFER_CLASS, NULL);
+   owned.owner = efl_add(EFL_IO_BUFFER_CLASS, parent);
+   fail_if(!owned.owner);
+
+   // the promise the thread resolves: on a scheduler of the test's
+   tc.promise = eina_promise_new(&ts.base, _batch_promise_cancel, NULL);
+   fail_if(!tc.promise);
+   f = eina_future_new(tc.promise);
+   fail_if(!f);
+   fail_if(!eina_future_then(f, _owned_other, &owned));
+
+   // the one that is canceled with its object, whose callback waits for the thread
+   p = eina_promise_new(efl_event_future_scheduler_get(owned.owner, _owned_sched()),
+                        _waits_for_thread_cancel, &tc);
+   fail_if(!p);
+   fail_if(!eina_future_then(eina_future_new(p), _owned_other, &owned));
+
+   efl_parent_set(owned.owner, NULL);
+   ck_assert_int_eq(tc.canceled, 1);
+   // (what the thread resolved is scheduled on the scheduler of the test, which
+   // never runs it: cancel it)
+   eina_future_cancel(f);
+   efl_unref(parent);
+   ecore_shutdown();
+}
+EFL_END_TEST
+
+static void
+_late_cancel(void *data EINA_UNUSED, const Eina_Promise *dead EINA_UNUSED)
+{
+}
+
+// The promise of a scheduler that went, that has no future yet, is kept: its
+// owner was not told, and may resolve it, and a future it gets afterwards is
+// canceled. One that had a future is canceled and freed with the scheduler (its
+// owner was told, and by the contract of the callback lets go of it). Neither
+// touches freed memory.
+static Eina_Value
+_cont_many(void *data, const Eina_Value v EINA_UNUSED, const Eina_Future *dead)
+{
+   Promise_Owner_Ctx *ctx = data;
+
+   return eina_promise_as_value(eina_promise_continue_new(dead, _promise_owner_cancel_count, ctx));
+}
+
+// Continue promises pending on the scheduler of an object that dies are
+// canceled and freed (not kept: their owners let go of them when told).
+EFL_START_TEST(efl_test_promise_future_continue_promises_owner_dies)
+{
+   enum { N = 50 };
+   Promise_Owner_Ctx ctx = { { 0 }, NULL, 0, 0 };
+   Eo *parent;
+   int i;
+
+   fail_if(!ecore_init());
+   parent = efl_add_ref(EFL_IO_BUFFER_CLASS, NULL);
+   ctx.base.owner = efl_add(EFL_IO_BUFFER_CLASS, parent);
+   fail_if(!ctx.base.owner);
+   for (i = 0; i < N; i++)
+     {
+        Eina_Promise *p = eina_promise_new(efl_event_future_scheduler_get(ctx.base.owner, _owned_sched()),
+                                           _batch_promise_cancel, NULL);
+        Eina_Future *f;
+
+        fail_if(!p);
+        f = eina_future_new(p);
+        fail_if(!eina_future_chain(f, {.cb = _cont_many, .data = ""
+                                   {.cb = _owned_other, .data = ""
+        eina_promise_resolve(p, eina_value_int_init(1));
+     }
+   // the first callbacks run, each returns a continue promise that waits
+   efl_event_callback_call(ctx.base.owner, &_owned_sched_event, NULL);
+   ck_assert_int_eq(ctx.base.ran, 0);
+   eina_log_print_cb_set(_promise_owner_log, &ctx);
+   efl_parent_set(ctx.base.owner, NULL);
+   eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
+   ck_assert_int_eq(ctx.promise_canceled, N);
+   ck_assert_int_eq(ctx.base.ran, N);
+   ck_assert_int_eq(ctx.base.canceled, N);
+   ck_assert_int_eq(ctx.errors, 0);
+   efl_unref(parent);
+   ecore_shutdown();
+}
+EFL_END_TEST
+
+EFL_START_TEST(efl_test_promise_future_resolve_after_owner)
+{
+   Owned_Ctx ctx = { 0 };
+   Eina_Promise *with_future, *without_future;
+   Eina_Future *f;
+   Eo *parent;
+
+   fail_if(!ecore_init());
+   parent = efl_add_ref(EFL_IO_BUFFER_CLASS, NULL);
+   ctx.owner = efl_add(EFL_IO_BUFFER_CLASS, parent);
+   fail_if(!ctx.owner);
+
+   with_future = eina_promise_new(efl_event_future_scheduler_get(ctx.owner, _owned_sched()),
+                                  _late_cancel, NULL);
+   fail_if(!with_future);
+   fail_if(!eina_future_then(eina_future_new(with_future), _owned_other, &ctx));
+   // (the owner of this one lets go of it when it is told)
+   without_future = eina_promise_new(efl_event_future_scheduler_get(ctx.owner, _owned_sched()),
+                                     _late_cancel, NULL);
+   fail_if(!without_future);
+
+   eina_log_print_cb_set(_owned_log, &ctx);
+   efl_parent_set(ctx.owner, NULL);
+   // the first one was canceled with the scheduler...
+   ck_assert_int_eq(ctx.canceled, 1);
+   // ...and the one without future can still be resolved
+   f = eina_future_then(eina_future_new(without_future), _owned_other, &ctx);
+   fail_if(!f);
+   eina_promise_resolve(without_future, eina_value_int_init(2));
+   eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
+   ck_assert_int_eq(ctx.canceled, 2);
+   ck_assert_int_eq(ctx.errors, 0);
+   efl_unref(parent);
+   ecore_shutdown();
+}
+EFL_END_TEST
+
 EFL_START_TEST(efl_test_promise_future_inner_promise)
 {
    Eina_Future *f;
@@ -1745,6 +2181,13 @@ void efl_app_test_promise_2(TCase *tc)
    tcase_add_test(tc, efl_test_promise_future_owner_destroyed);
    tcase_add_test(tc, efl_test_promise_future_owner_destroyed_in_batch);
    tcase_add_test(tc, efl_test_promise_future_owner_destroyed_in_nested_batch);
+   tcase_add_test(tc, efl_test_promise_future_promise_outlives_owner);
+   tcase_add_test(tc, efl_test_promise_future_continue_after_owner);
+   tcase_add_test(tc, efl_test_promise_future_cancel_asks_scheduler);
+   tcase_add_test(tc, efl_test_promise_future_cancel_reentrant);
+   tcase_add_test(tc, efl_test_promise_future_cancel_no_lock_across_callbacks);
+   tcase_add_test(tc, efl_test_promise_future_resolve_after_owner);
+   tcase_add_test(tc, efl_test_promise_future_continue_promises_owner_dies);
    tcase_add_test(tc, efl_test_promise_future_implicit_cancel);
    tcase_add_test(tc, efl_test_promise_future_inner_promise);
    tcase_add_test(tc, efl_test_promise_future_inner_promise_fail);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to