From a3a8669c6f56f11742c7350aff659527b0389076 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 17 Sep 2017 19:58:13 +0100 Subject: [PATCH] Fix error in last commit. (cherry picked from commit a1a7f5deff4e3c8262c1924f12f28a11a6228413) --- vvp/vthread.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vvp/vthread.cc b/vvp/vthread.cc index 07269b295..1b4e806f8 100644 --- a/vvp/vthread.cc +++ b/vvp/vthread.cc @@ -2210,8 +2210,7 @@ static bool do_disable(vthread_t thr, vthread_t match) if (! parent->i_have_ended) schedule_vthread(parent, 0, true); -// do_join(parent, thr); - vthread_reap(thr); + do_join(parent, thr); } else if (parent) { /* If the parent is yet to %join me, let its %join