Skip to content
  • nagachika's avatar
    720de200
    merge revision(s) 65ae2bb2: [Backport #18902] · 720de200
    nagachika authored
    	Thread#value: handle threads killed by a fork
    
    	[Bug #18902]
    
    	When a thread is killed because we forked, the `value` if left
    	to `Qundef`. Returning it woudl crash the VM.
    	---
    	 test/ruby/test_thread.rb | 14 ++++++++++++++
    	 thread.c                 |  4 ++++
    	 2 files changed, 18 insertions(+)
    720de200
    merge revision(s) 65ae2bb2: [Backport #18902]
    nagachika authored
    	Thread#value: handle threads killed by a fork
    
    	[Bug #18902]
    
    	When a thread is killed because we forked, the `value` if left
    	to `Qundef`. Returning it woudl crash the VM.
    	---
    	 test/ruby/test_thread.rb | 14 ++++++++++++++
    	 thread.c                 |  4 ++++
    	 2 files changed, 18 insertions(+)
Loading