diff --git a/vvp/vthread.cc b/vvp/vthread.cc index d9e34b1d7..5ea584cbe 100644 --- a/vvp/vthread.cc +++ b/vvp/vthread.cc @@ -2335,8 +2335,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