add missing mutex unlock in error path
Merge to 5.1
This commit is contained in:
parent
52f2e812fb
commit
9134aa4ee8
|
@ -1660,6 +1660,7 @@ static void invoke_rtcall(Scheme_Future_State * volatile fs, future_t * volatile
|
|||
future->status = FINISHED;
|
||||
future->work_completed = 1;
|
||||
future->retval = 0;
|
||||
mzrt_mutex_unlock(fs->future_mutex);
|
||||
} else {
|
||||
/* Signal the waiting worker thread that it
|
||||
can continue running machine code */
|
||||
|
|
Loading…
Reference in New Issue
Block a user