mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +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
1
thread.c
1
thread.c
|
@ -4725,6 +4725,7 @@ void
|
|||
rb_thread_atfork(void)
|
||||
{
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
rb_threadptr_pending_interrupt_clear(th);
|
||||
rb_thread_atfork_internal(th, terminate_atfork_i);
|
||||
th->join_list = NULL;
|
||||
rb_fiber_atfork(th);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue