Skip to content

Commit

Permalink
Fixed explicit mutex unlock straggler.
Browse files Browse the repository at this point in the history
This got left in when I was trying to get the mutex to properly unlock across
fork() calls in both parent and child process.
  • Loading branch information
brixen committed Jun 7, 2016
1 parent 55439d5 commit 86bedce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions machine/builtin/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,6 @@ namespace rubinius {
state->shared().machine_threads()->after_fork_exec_parent(state);
}

state->vm()->thread_nexus()->fork_mutex().unlock();

return pid;
}

Expand Down

0 comments on commit 86bedce

Please sign in to comment.