diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c --- a/src/lib/eina/eina_promise.c +++ b/src/lib/eina/eina_promise.c @@ -635,6 +635,11 @@ // This function is called on a promise created with a scheduler, not a continue one. _eina_future_dispatch(p->scheduler, f, v); } + else + { + // Nobody is going to flush this value if we don't + eina_value_flush(&v); + } eina_mempool_free(_promise_mp, p); }