diff --git a/binr/r2r/run.c b/binr/r2r/run.c index db231a7d1a..d9eccf6130 100644 --- a/binr/r2r/run.c +++ b/binr/r2r/run.c @@ -448,6 +448,7 @@ static RThreadFunctionRet sigchld_th(RThread *th) { } ut8 r = 0; if (write (proc->killpipe[1], &r, 1) != 1) { + r_th_lock_leave (subprocs_mutex); break; } }