mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Don't clear pending interrupts in the parent process. (#10365)
This commit is contained in:
parent
0c62eb25b5
commit
a7ff264477
3 changed files with 22 additions and 1 deletions
|
@ -1682,7 +1682,6 @@ before_fork_ruby(void)
|
|||
static void
|
||||
after_fork_ruby(rb_pid_t pid)
|
||||
{
|
||||
rb_threadptr_pending_interrupt_clear(GET_THREAD());
|
||||
if (pid == 0) {
|
||||
// child
|
||||
clear_pid_cache();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue