Fix error in last commit.

(cherry picked from commit a1a7f5deff)
This commit is contained in:
Martin Whitaker 2017-09-17 19:58:13 +01:00
parent 885e25120a
commit a3a8669c6f
1 changed files with 1 additions and 2 deletions

View File

@ -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