diff --git a/src/async/async.c b/src/async/async.c index 7d37ac7f8..934ad0a02 100644 --- a/src/async/async.c +++ b/src/async/async.c @@ -351,7 +351,8 @@ void re_async_cancel(struct re_async *async, intptr_t id) w->workh = NULL; w->cb = NULL; w->arg = mem_deref(w->arg); - list_move(&w->le, &async->freel); + /* No move to free list since queueh must always handled if + * mqueue_push is called */ mtx_unlock(w->mtx); }