From: Jérémie Astor Date: Thu, 2 Sep 2021 19:10:18 +0000 (+0200) Subject: :bug: Fix shred exiting (la suite) X-Git-Tag: nightly~470^2~24 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9a8b08d5e80b00adb7dd229c67947075c7c2a6be;p=gwion.git :bug: Fix shred exiting (la suite) --- diff --git a/src/vm/shreduler.c b/src/vm/shreduler.c index bc8e5668..17810b19 100644 --- a/src/vm/shreduler.c +++ b/src/vm/shreduler.c @@ -59,7 +59,8 @@ ANN void shreduler_remove(const Shreduler s, const VM_Shred out, tk->prev = tk->next = NULL; else { shreduler_erase(s, tk); - _release(out->info->me, out); + ME(out->info->me) = NULL; + release(out->info->me, out); } MUTEX_UNLOCK(s->mutex); }